home *** CD-ROM | disk | FTP | other *** search
Unknown | 1991-08-24 | 47.8 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 54 b6 00 00 01 00 00 00 | 00 00 00 00 06 08 00 00 |T.......|........|
|00000010| 00 08 00 00 01 10 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 10 00 00 02 18 00 00 | a0 00 00 00 00 00 00 00 |........|........|
|00000030| 02 de 00 00 00 00 00 00 | 00 18 00 00 a5 50 00 00 |........|.....P..|
|00000040| 42 6a b1 02 fa ec fe ff | 4a 33 ff ff 68 37 00 00 |Bj......|J3..h7..|
|00000050| 07 05 05 05 02 de 00 00 | 02 de 00 00 00 00 00 00 |........|........|
|00000060| 05 05 33 2e 30 20 20 54 | 68 65 20 4f 62 6a 65 63 |..3.0 T|he Objec|
|00000070| 74 20 53 74 6f 72 65 2e | 08 08 00 00 02 de 00 00 |t Store.|........|
|00000080| 00 00 00 00 0d 00 00 00 | 00 50 00 00 a5 28 00 00 |........|.P...(..|
|00000090| 42 d8 03 00 0a b0 fe ff | ea de fe ff 20 22 00 00 |B.......|.... "..|
|000000a0| 0d 07 07 05 08 f1 00 00 | 08 f1 00 00 00 00 00 00 |........|........|
|000000b0| 00 28 00 00 a5 34 00 00 | 42 5e 89 01 ea 61 fe ff |.(...4..|B^...a..|
|000000c0| 9a 98 fe ff 18 2b 00 00 | 33 2e 31 20 20 49 6e 74 |.....+..|3.1 Int|
|000000d0| 72 6f 64 75 63 74 69 6f | 6e 0d 08 08 08 f1 00 00 |roductio|n.......|
|000000e0| 00 00 00 00 00 34 00 00 | 25 1c 00 00 42 d8 03 00 |.....4..|%...B...|
|000000f0| 1a 28 fe ff fa 56 fe ff | 20 22 00 00 0d 00 00 00 |.(...V..| "......|
|00000100| 00 1c 00 00 05 78 00 00 | 00 b0 00 07 ca e1 fd ff |.....x..|........|
|00000110| aa 10 fe ff 20 22 00 00 | 53 6f 20 66 61 72 20 74 |.... "..|So far t|
|00000120| 68 69 73 20 6d 61 6e 75 | 61 6c 20 68 61 73 20 64 |his manu|al has d|
|00000130| 65 61 6c 74 20 77 69 74 | 68 20 74 68 65 20 62 61 |ealt wit|h the ba|
|00000140| 73 69 63 20 65 6c 65 6d | 65 6e 74 73 20 6f 66 20 |sic elem|ents of |
|00000150| 74 68 65 20 47 52 53 20 | 70 72 6f 67 72 61 6d 6d |the GRS |programm|
|00000160| 69 6e 67 20 6c 61 6e 67 | 75 61 67 65 20 73 75 63 |ing lang|uage suc|
|00000170| 68 20 61 73 20 00 00 00 | 00 78 00 00 85 98 00 00 |h as ...|.x......|
|00000180| 02 90 7e 06 7a 9b fd ff | 5a ca fd ff 20 22 00 00 |..~.z...|Z... "..|
|00000190| 61 73 73 69 67 6e 6d 65 | 6e 74 2c 20 6c 6f 6f 70 |assignme|nt, loop|
|000001a0| 73 2c 20 69 74 65 72 61 | 74 6f 72 73 20 61 6e 64 |s, itera|tors and|
|000001b0| 20 73 6f 20 6f 6e 2c 20 | 61 6e 64 20 68 61 73 20 | so on, |and has |
|000001c0| 6c 6f 6f 6b 65 64 20 69 | 6e 20 64 65 74 61 69 6c |looked i|n detail|
|000001d0| 20 61 74 20 74 68 65 20 | 63 6f 6d 70 6c 65 78 69 | at the |complexi|
|000001e0| 74 69 65 73 20 6f 66 20 | 74 68 65 20 07 07 74 20 |ties of |the ..t |
|000001f0| 0e 15 00 00 0e 15 00 00 | 00 00 00 00 07 64 d2 fe |........|.....d..|
|00000200| 16 23 02 00 0e 15 00 00 | 16 23 02 00 00 00 00 00 |.#......|.#......|
|00000210| 00 98 00 00 85 90 00 00 | 02 e0 27 07 2a 55 fd ff |........|..'.*U..|
|00000220| 0a 84 fd ff 9c 1e 00 00 | 65 78 70 72 65 73 73 69 |........|expressi|
|00000230| 6f 6e 08 08 0e 15 00 00 | 16 23 02 00 00 00 00 00 |on......|.#......|
|00000240| 20 74 79 70 65 08 05 05 | 16 23 02 00 00 00 00 00 | type...|.#......|
|00000250| 2e 20 20 57 69 74 68 20 | 74 68 65 73 65 20 74 65 |. With |these te|
|00000260| 63 68 6e 69 71 75 65 73 | 20 69 74 20 69 73 20 70 |chniques| it is p|
|00000270| 6f 73 73 69 62 6c 65 20 | 74 6f 20 77 72 69 74 65 |ossible |to write|
|00000280| 20 6d 61 6e 79 20 69 6d | 70 72 65 73 73 69 76 65 | many im|pressive|
|00000290| 20 70 72 6f 67 72 61 6d | 73 20 28 73 65 65 20 00 | program|s (see .|
|000002a0| 00 90 00 00 05 78 00 00 | 00 80 f7 06 da 0e fd ff |.....x..|........|
|000002b0| ba 3d fd ff 20 22 00 00 | 74 68 65 20 65 78 61 6d |.=.. "..|the exam|
|000002c0| 70 6c 65 73 20 67 69 76 | 65 6e 20 69 6e 20 74 68 |ples giv|en in th|
|000002d0| 65 20 70 72 65 76 69 6f | 75 73 20 63 68 61 70 74 |e previo|us chapt|
|000002e0| 65 72 73 20 61 6e 64 20 | 69 6e 20 73 65 63 74 69 |ers and |in secti|
|000002f0| 6f 6e 20 35 29 2e 20 20 | 54 68 69 73 20 63 68 61 |on 5). |This cha|
|00000300| 70 74 65 72 20 65 78 70 | 6c 61 69 6e 73 20 68 6f |pter exp|lains ho|
|00000310| 77 20 74 68 65 73 65 20 | 00 78 00 00 85 f4 00 00 |w these |.x......|
|00000320| 02 4c 19 07 8a c8 fc ff | 6a f7 fc ff 20 22 00 00 |.L......|j... "..|
|00000330| 66 65 61 74 75 72 65 73 | 20 63 61 6e 20 62 65 20 |features| can be |
|00000340| 75 73 65 64 20 74 6f 20 | 63 72 65 61 74 65 20 07 |used to |create .|
|00000350| 16 24 02 00 16 24 02 00 | 00 00 00 00 07 00 00 00 |.$...$..|........|
|00000360| 03 17 00 00 03 17 00 00 | 16 24 02 00 00 00 00 00 |........|.$......|
|00000370| 6f 62 6a 65 63 74 08 65 | 03 17 00 00 16 24 02 00 |object.e|.....$..|
|00000380| 00 00 00 00 07 00 00 00 | 03 18 00 00 03 18 00 00 |........|........|
|00000390| 16 24 02 00 00 00 00 00 | 73 08 00 00 16 24 02 00 |.$......|s....$..|
|000003a0| 03 18 00 00 00 00 00 00 | 08 00 00 00 03 18 00 00 |........|........|
|000003b0| 00 00 00 00 2e 20 20 46 | 69 72 73 74 6c 79 2c 20 |..... F|irstly, |
|000003c0| 74 68 65 20 74 65 72 6d | 20 07 72 6d 03 19 00 00 |the term| .rm....|
|000003d0| 03 19 00 00 00 00 00 00 | 6f 62 6a 65 63 74 08 65 |........|object.e|
|000003e0| 03 19 00 00 00 00 00 00 | 20 69 73 20 65 78 70 6c |........| is expl|
|000003f0| 61 69 6e 65 64 2c 20 61 | 6e 64 20 74 68 72 6f 75 |ained, a|nd throu|
|00000400| 67 68 20 65 78 61 6d 70 | 6c 65 20 00 00 f4 00 00 |gh examp|le .....|
|00000410| 85 94 00 00 02 c4 f8 06 | 3a 82 fc ff 1a b1 fc ff |........|:.......|
|00000420| 20 22 00 00 63 6f 64 65 | 2c 20 69 74 20 69 73 20 | "..code|, it is |
|00000430| 73 68 6f 77 6e 20 68 6f | 77 20 74 6f 20 63 72 65 |shown ho|w to cre|
|00000440| 61 74 65 2c 20 61 63 63 | 65 73 73 20 61 6e 64 20 |ate, acc|ess and |
|00000450| 6d 05 61 6e 69 70 75 6c | 61 74 65 20 07 25 02 00 |m.anipul|ate .%..|
|00000460| 16 25 02 00 16 25 02 00 | 00 00 00 00 6f 62 6a 65 |.%...%..|....obje|
|00000470| 63 74 73 20 69 6e 20 47 | 52 53 08 08 16 25 02 00 |cts in G|RS...%..|
|00000480| 00 00 00 00 2e 20 20 46 | 6f 72 20 66 75 72 74 68 |..... F|or furth|
|00000490| 65 72 20 72 65 61 64 69 | 6e 67 20 73 65 65 20 00 |er readi|ng see .|
|000004a0| 00 94 00 00 a5 64 00 00 | 42 04 73 04 ea 3b fc ff |.....d..|B.s..;..|
|000004b0| ca 6a fc ff 20 22 00 00 | 94 4f 62 6a 65 63 74 2d |.j.. "..|.Object-|
|000004c0| 6f 72 69 65 6e 74 65 64 | 20 53 6f 66 74 77 61 72 |oriented| Softwar|
|000004d0| 65 20 43 6f 6e 73 74 72 | 75 63 74 69 6f 6e 95 20 |e Constr|uction. |
|000004e0| 62 79 20 42 65 74 72 61 | 6e 64 20 4d 65 79 65 72 |by Betra|nd Meyer|
|000004f0| 2e 07 07 00 02 14 00 00 | 02 14 00 00 00 00 00 00 |........|........|
|00000500| 0d 00 00 00 00 64 00 00 | a5 34 00 00 42 8c 01 00 |.....d..|.4..B...|
|00000510| 1a d0 fb ff 6a 16 fc ff | 68 37 00 00 0d 08 08 00 |....j...|h7......|
|00000520| 02 14 00 00 00 00 00 00 | 07 f2 00 00 08 f2 00 00 |........|........|
|00000530| 08 f2 00 00 00 00 00 00 | 00 34 00 00 25 30 00 00 |........|.4..%0..|
|00000540| 42 7c 2d 02 5a 8b fb ff | 0a c2 fb ff 18 2b 00 00 |B|-.Z...|.....+..|
|00000550| 33 2e 32 20 20 57 68 61 | 74 20 69 73 20 61 6e 20 |3.2 Wha|t is an |
|00000560| 6f 62 6a 65 63 74 3f 0d | 00 30 00 00 a5 24 00 00 |object?.|.0...$..|
|00000570| 42 34 01 00 ba 49 fb ff | 6a 80 fb ff 18 2b 00 00 |B4...I..|j....+..|
|00000580| 0d 08 08 00 08 f2 00 00 | 00 00 00 00 00 24 00 00 |........|.....$..|
|00000590| 05 74 00 00 00 34 a4 06 | ea 0f fb ff ca 3e fb ff |.t...4..|.....>..|
|000005a0| 20 22 00 00 4d 6f 73 74 | 20 70 72 6f 67 72 61 6d | "..Most| program|
|000005b0| 6d 69 6e 67 20 6c 61 6e | 67 75 61 67 65 73 20 70 |ming lan|guages p|
|000005c0| 72 6f 76 69 64 65 20 61 | 20 6d 65 61 6e 73 20 66 |rovide a| means f|
|000005d0| 6f 72 20 63 72 65 61 74 | 69 6e 67 20 64 61 74 61 |or creat|ing data|
|000005e0| 20 73 74 72 75 63 74 75 | 72 65 73 2c 20 74 68 61 | structu|res, tha|
|000005f0| 74 20 69 73 2c 20 75 6e | 69 74 73 20 6f 66 20 00 |t is, un|its of .|
|00000600| 00 74 00 00 85 b8 00 00 | 02 60 d8 06 9a c9 fa ff |.t......|.`......|
|00000610| 7a f8 fa ff 20 22 00 00 | 69 6e 66 6f 72 6d 61 74 |z... "..|informat|
|00000620| 69 6f 6e 20 63 6f 6e 73 | 69 73 74 69 6e 67 20 6f |ion cons|isting o|
|00000630| 66 20 73 65 76 65 72 61 | 6c 20 64 69 66 66 65 72 |f severa|l differ|
|00000640| 65 6e 74 20 07 07 02 00 | 16 26 02 00 16 26 02 00 |ent ....|.&...&..|
|00000650| 00 00 00 00 07 1a 00 00 | 03 1a 00 00 03 1a 00 00 |........|........|
|00000660| 16 26 02 00 00 00 00 00 | 61 74 74 72 69 62 75 74 |.&......|attribut|
|00000670| 65 73 08 00 16 26 02 00 | 03 1a 00 00 00 00 00 00 |es...&..|........|
|00000680| 08 1a 00 00 03 1a 00 00 | 00 00 00 00 20 77 69 74 |........|.... wit|
|00000690| 68 20 75 6e 69 71 75 65 | 20 6e 61 6d 65 73 2e 20 |h unique| names. |
|000006a0| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 69 6e | For exa|mple, in|
|000006b0| 20 74 68 65 20 00 00 00 | 00 b8 00 00 a5 74 00 00 | the ...|.....t..|
|000006c0| 42 68 1e 04 4a 83 fa ff | 2a b2 fa ff 20 22 00 00 |Bh..J...|*... "..|
|000006d0| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 6c 61 6e 67 |programm|ing lang|
|000006e0| 75 61 67 65 20 07 07 00 | 03 1c 00 00 03 1c 00 00 |uage ...|........|
|000006f0| 00 00 00 00 43 08 00 00 | 03 1c 00 00 00 00 00 00 |....C...|........|
|00000700| 2c 20 61 20 70 65 72 73 | 6f 6e 20 6d 61 79 20 62 |, a pers|on may b|
|00000710| 65 20 64 65 73 63 72 69 | 62 65 64 20 61 73 0d 07 |e descri|bed as..|
|00000720| 0f 1d 00 00 0f 1d 00 00 | 00 00 00 00 00 74 00 00 |........|.....t..|
|00000730| 25 2c 00 00 42 00 77 01 | ca 44 fa ff da 6b fa ff |%,..B.w.|.D...k..|
|00000740| 82 19 00 00 73 74 72 75 | 63 74 20 70 65 72 73 6f |....stru|ct perso|
|00000750| 6e 20 20 7b 0d 00 00 00 | 00 2c 00 00 25 28 00 00 |n {....|.,..%(..|
|00000760| 42 20 48 01 ea 15 fa ff | fa 3c fa ff 82 19 00 00 |B H.....|.<......|
|00000770| 20 20 20 63 68 61 72 20 | 2a 6e 61 6d 65 3b 0d 00 | char |*name;..|
|00000780| 00 28 00 00 25 24 00 00 | 42 d0 01 01 0a e7 f9 ff |.(..%$..|B.......|
|00000790| 1a 0e fa ff 82 19 00 00 | 20 20 20 69 6e 74 20 61 |........| int a|
|000007a0| 67 65 3b 0d 00 24 00 00 | a5 28 00 00 42 30 75 00 |ge;..$..|.(..B0u.|
|000007b0| 2a b8 f9 ff 3a df f9 ff | 82 19 00 00 20 20 20 7d |*...:...|.... }|
|000007c0| 3b 0d 08 08 0f 1d 00 00 | 00 00 00 00 00 28 00 00 |;.......|.....(..|
|000007d0| 85 d0 00 00 02 a8 23 07 | 7a 81 f9 ff 5a b0 f9 ff |......#.|z...Z...|
|000007e0| 20 22 00 00 48 65 72 65 | 20 74 68 65 20 70 65 72 | "..Here| the per|
|000007f0| 73 6f 6e 20 69 73 20 67 | 69 76 65 6e 20 07 07 fe |son is g|iven ...|
|00000800| 16 27 02 00 16 27 02 00 | 00 00 00 00 61 74 74 72 |.'...'..|....attr|
|00000810| 69 62 75 74 65 73 20 07 | 03 1e 00 00 03 1e 00 00 |ibutes .|........|
|00000820| 16 27 02 00 00 00 00 00 | 08 22 00 00 16 27 02 00 |.'......|."...'..|
|00000830| 03 1e 00 00 00 00 00 00 | 6e 61 6d 65 08 73 20 67 |........|name.s g|
|00000840| 03 1e 00 00 00 00 00 00 | 20 28 61 20 73 74 72 69 |........| (a stri|
|00000850| 6e 67 29 2c 20 61 6e 64 | 20 07 75 74 03 20 00 00 |ng), and| .ut. ..|
|00000860| 03 20 00 00 00 00 00 00 | 61 67 65 08 03 20 00 00 |. ......|age.. ..|
|00000870| 00 00 00 00 20 28 61 6e | 20 69 6e 74 65 67 65 72 |.... (an| integer|
|00000880| 29 2e 20 20 54 68 65 20 | 70 72 6f 67 72 61 6d 6d |). The |programm|
|00000890| 65 72 20 69 73 20 74 68 | 65 6e 20 00 00 d0 00 00 |er is th|en .....|
|000008a0| 85 94 00 00 02 c0 0e 07 | 2a 3b f9 ff 0a 6a f9 ff |........|*;...j..|
|000008b0| 20 22 00 00 66 72 65 65 | 20 74 6f 20 63 72 65 61 | "..free| to crea|
|000008c0| 74 65 20 61 73 20 6d 61 | 6e 79 20 65 78 61 6d 70 |te as ma|ny examp|
|000008d0| 6c 65 73 20 6f 66 20 74 | 79 70 65 20 07 07 74 68 |les of t|ype ..th|
|000008e0| 03 21 00 00 03 21 00 00 | 00 00 00 00 70 65 72 73 |.!...!..|....pers|
|000008f0| 6f 6e 08 fe 03 21 00 00 | 00 00 00 00 20 61 73 20 |on...!..|.... as |
|00000900| 74 68 65 79 20 77 69 73 | 68 2c 20 65 61 63 68 20 |they wis|h, each |
|00000910| 6f 66 20 77 68 69 63 68 | 20 77 69 6c 6c 20 68 61 |of which| will ha|
|00000920| 76 65 20 61 20 64 69 66 | 66 65 72 65 6e 74 20 00 |ve a dif|ferent .|
|00000930| 00 94 00 00 25 44 00 00 | 42 0c 27 03 da f4 f8 ff |....%D..|B.'.....|
|00000940| ba 23 f9 ff 20 22 00 00 | 28 62 75 74 20 6e 6f 74 |.#.. "..|(but not|
|00000950| 20 6e 65 63 65 73 73 61 | 72 69 6c 79 20 75 6e 69 | necessa|rily uni|
|00000960| 71 75 65 29 20 6e 61 6d | 65 20 61 6e 64 20 61 67 |que) nam|e and ag|
|00000970| 65 2e 0d 00 00 44 00 00 | 25 1c 00 00 42 d8 03 00 |e....D..|%...B...|
|00000980| 8a ae f8 ff 6a dd f8 ff | 20 22 00 00 0d 00 00 00 |....j...| "......|
|00000990| 00 1c 00 00 85 94 00 00 | 02 c8 4e 07 3a 68 f8 ff |........|..N.:h..|
|000009a0| 1a 97 f8 ff 20 22 00 00 | 57 69 74 68 69 6e 20 74 |.... "..|Within t|
|000009b0| 68 65 20 73 61 6d 65 20 | 70 72 6f 67 72 61 6d 2c |he same |program,|
|000009c0| 20 66 75 6e 63 74 69 6f | 6e 73 20 6d 61 79 20 62 | functio|ns may b|
|000009d0| 65 20 77 72 69 74 74 65 | 6e 20 77 68 69 63 68 20 |e writte|n which |
|000009e0| 6d 61 6e 69 70 75 6c 61 | 74 65 20 65 78 61 6d 70 |manipula|te examp|
|000009f0| 6c 65 73 20 6f 66 20 74 | 68 65 20 74 79 70 65 20 |les of t|he type |
|00000a00| 07 07 6f 67 03 22 00 00 | 03 22 00 00 00 00 00 00 |..og."..|."......|
|00000a10| 70 65 72 73 6f 6e 08 62 | 03 22 00 00 00 00 00 00 |person.b|."......|
|00000a20| 2e 20 20 00 00 94 00 00 | 05 7c 00 00 00 1c e9 06 |. .....|.|......|
|00000a30| ea 21 f8 ff ca 50 f8 ff | 20 22 00 00 46 6f 72 20 |.!...P..| "..For |
|00000a40| 65 78 61 6d 70 6c 65 2c | 20 74 6f 20 63 61 6c 63 |example,| to calc|
|00000a50| 75 6c 61 74 65 20 74 68 | 65 20 79 65 61 72 20 6f |ulate th|e year o|
|00000a60| 66 20 62 69 72 74 68 20 | 66 6f 72 20 61 20 67 69 |f birth |for a gi|
|00000a70| 76 65 6e 20 70 65 72 73 | 6f 6e 2c 20 61 20 66 75 |ven pers|on, a fu|
|00000a80| 6e 63 74 69 6f 6e 20 6d | 61 79 20 62 65 20 77 72 |nction m|ay be wr|
|00000a90| 69 74 74 65 6e 20 28 69 | 6e 20 43 29 20 00 00 00 |itten (i|n C) ...|
|00000aa0| 00 7c 00 00 a5 38 00 00 | 42 3c 26 01 9a db f7 ff |.|...8..|B<&.....|
|00000ab0| 7a 0a f8 ff 20 22 00 00 | 73 6f 6d 65 74 68 69 6e |z... "..|somethin|
|00000ac0| 67 20 6c 69 6b 65 3a 0d | 07 07 74 69 0f 23 00 00 |g like:.|..ti.#..|
|00000ad0| 0f 23 00 00 00 00 00 00 | 00 38 00 00 25 4c 00 00 |.#......|.8..%L..|
|00000ae0| 42 50 ab 04 1a 9d f7 ff | 2a c4 f7 ff 82 19 00 00 |BP......|*.......|
|00000af0| 69 6e 74 20 79 65 61 72 | 5f 6f 66 5f 62 69 72 74 |int year|_of_birt|
|00000b00| 68 28 20 73 74 72 75 63 | 74 20 70 65 72 73 6f 6e |h( struc|t person|
|00000b10| 20 70 2c 20 69 6e 74 20 | 74 68 69 73 5f 79 65 61 | p, int |this_yea|
|00000b20| 72 20 29 0d 00 4c 00 00 | 25 1c 00 00 42 70 17 00 |r )..L..|%...Bp..|
|00000b30| 3a 6e f7 ff 4a 95 f7 ff | 82 19 00 00 7b 0d 00 00 |:n..J...|....{...|
|00000b40| 00 1c 00 00 25 34 00 00 | 42 d0 78 02 5a 3f f7 ff |....%4..|B.x.Z?..|
|00000b50| 6a 66 f7 ff 82 19 00 00 | 20 20 20 72 65 74 75 72 |jf......| retur|
|00000b60| 6e 28 74 68 69 73 5f 79 | 65 61 72 2d 70 2e 61 67 |n(this_y|ear-p.ag|
|00000b70| 65 29 3b 0d 00 34 00 00 | a5 24 00 00 42 70 17 00 |e);..4..|.$..Bp..|
|00000b80| 7a 10 f7 ff 8a 37 f7 ff | 82 19 00 00 7d 0d 08 08 |z....7..|....}...|
|00000b90| 0f 23 00 00 00 00 00 00 | 00 24 00 00 25 70 00 00 |.#......|.$..%p..|
|00000ba0| 42 64 2c 06 ca d9 f6 ff | aa 08 f7 ff 20 22 00 00 |Bd,.....|.... "..|
|00000bb0| 54 68 69 73 20 73 69 6d | 70 6c 79 20 74 61 6b 65 |This sim|ply take|
|00000bc0| 73 20 74 68 65 20 61 67 | 65 20 6f 66 20 74 68 65 |s the ag|e of the|
|00000bd0| 20 67 69 76 65 6e 20 70 | 65 72 73 6f 6e 2c 20 61 | given p|erson, a|
|00000be0| 6e 64 20 73 75 62 74 72 | 61 63 74 73 20 69 74 20 |nd subtr|acts it |
|00000bf0| 66 72 6f 6d 20 74 68 65 | 20 63 75 72 72 65 6e 74 |from the| current|
|00000c00| 20 79 65 61 72 2e 0d 00 | 00 70 00 00 85 90 00 00 | year...|.p......|
|00000c10| 02 78 1a 07 7a 93 f6 ff | 5a c2 f6 ff 20 22 00 00 |.x..z...|Z... "..|
|00000c20| 49 74 20 73 65 65 6d 73 | 20 6c 6f 67 69 63 61 6c |It seems| logical|
|00000c30| 20 74 68 61 74 20 07 07 | 0e 24 00 00 0e 24 00 00 | that ..|.$...$..|
|00000c40| 00 00 00 00 79 65 61 72 | 5f 6f 66 5f 62 69 72 74 |....year|_of_birt|
|00000c50| 68 08 00 00 0e 24 00 00 | 00 00 00 00 20 61 6e 64 |h....$..|.... and|
|00000c60| 20 61 20 70 65 72 73 6f | 6e 91 73 20 61 67 65 20 | a perso|n.s age |
|00000c70| 73 68 6f 75 6c 64 20 62 | 65 6c 6f 6e 67 20 74 6f |should b|elong to|
|00000c80| 67 65 74 68 65 72 20 69 | 6e 20 73 6f 6d 65 20 77 |gether i|n some w|
|00000c90| 61 79 2e 20 20 00 00 00 | 00 90 00 00 25 38 00 00 |ay. ...|....%8..|
|00000ca0| 42 14 3e 02 2a 4d f6 ff | 0a 7c f6 ff 20 22 00 00 |B.>.*M..|.|.. "..|
|00000cb0| 54 68 69 73 20 69 73 20 | 77 68 65 72 65 20 6f 62 |This is |where ob|
|00000cc0| 6a 65 63 74 73 20 63 6f | 6d 65 20 69 6e 2e 0d 00 |jects co|me in...|
|00000cd0| 00 38 00 00 25 1c 00 00 | 42 d8 03 00 da 06 f6 ff |.8..%...|B.......|
|00000ce0| ba 35 f6 ff 20 22 00 00 | 0d 00 00 00 00 1c 00 00 |.5.. "..|........|
|00000cf0| 85 1c 01 00 02 58 2e 07 | 8a c0 f5 ff 6a ef f5 ff |.....X..|....j...|
|00000d00| 20 22 00 00 41 6e 20 07 | 16 28 02 00 16 28 02 00 | "..An .|.(...(..|
|00000d10| 00 00 00 00 6f 62 6a 65 | 63 74 20 08 16 28 02 00 |....obje|ct ..(..|
|00000d20| 00 00 00 00 69 73 20 73 | 69 6d 70 6c 79 20 61 20 |....is s|imply a |
|00000d30| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 6f 66 20 07 07 |collecti|on of ..|
|00000d40| 16 29 02 00 16 29 02 00 | 00 00 00 00 61 74 74 72 |.)...)..|....attr|
|00000d50| 69 62 75 74 65 73 20 08 | 16 29 02 00 00 00 00 00 |ibutes .|.)......|
|00000d60| 28 63 6f 6d 6d 6f 6e 6c | 79 20 6b 6e 6f 77 6e 20 |(commonl|y known |
|00000d70| 61 73 20 07 03 25 00 00 | 03 25 00 00 00 00 00 00 |as ..%..|.%......|
|00000d80| 07 6e 20 6f 16 2a 02 00 | 03 25 00 00 16 2a 02 00 |.n o.*..|.%...*..|
|00000d90| 00 00 00 00 73 6c 6f 74 | 73 08 08 74 03 25 00 00 |....slot|s..t.%..|
|00000da0| 16 2a 02 00 00 00 00 00 | 08 63 6f 6d 16 2a 02 00 |.*......|.com.*..|
|00000db0| 00 00 00 00 29 20 61 6e | 64 20 07 07 16 2b 02 00 |....) an|d ...+..|
|00000dc0| 16 2b 02 00 00 00 00 00 | 66 75 6e 63 74 69 6f 6e |.+......|function|
|00000dd0| 73 20 08 00 16 2b 02 00 | 00 00 00 00 28 6b 6e 6f |s ...+..|....(kno|
|00000de0| 77 6e 20 61 73 20 07 00 | 03 26 00 00 03 26 00 00 |wn as ..|.&...&..|
|00000df0| 00 00 00 00 07 2a 02 00 | 16 2c 02 00 03 26 00 00 |.....*..|.,...&..|
|00000e00| 16 2c 02 00 00 00 00 00 | 00 1c 01 00 85 b0 00 00 |.,......|........|
|00000e10| 02 94 43 07 3a 7a f5 ff | 1a a9 f5 ff f8 22 00 00 |..C.:z..|....."..|
|00000e20| 6d 65 74 68 6f 64 73 08 | 03 26 00 00 16 2c 02 00 |methods.|.&...,..|
|00000e30| 00 00 00 00 08 26 00 00 | 16 2c 02 00 00 00 00 00 |.....&..|.,......|
|00000e40| 29 2e 20 20 54 68 65 20 | 6f 62 6a 65 63 74 20 63 |). The |object c|
|00000e50| 61 6e 20 6f 6e 6c 79 20 | 63 6f 6d 6d 75 6e 69 63 |an only |communic|
|00000e60| 61 74 65 20 74 6f 20 74 | 68 65 20 72 65 73 74 20 |ate to t|he rest |
|00000e70| 6f 66 20 74 68 65 20 77 | 6f 72 6c 64 20 76 69 61 |of the w|orld via|
|00000e80| 20 69 74 73 20 07 07 00 | 16 2d 02 00 16 2d 02 00 | its ...|.-...-..|
|00000e90| 00 00 00 00 6d 65 74 68 | 6f 64 73 20 08 6c 79 20 |....meth|ods .ly |
|00000ea0| 16 2d 02 00 00 00 00 00 | 28 77 68 69 63 68 20 69 |.-......|(which i|
|00000eb0| 73 20 77 68 79 20 00 00 | 00 b0 00 00 85 b8 00 00 |s why ..|........|
|00000ec0| 02 80 ee 06 ea 33 f5 ff | ca 62 f5 ff 20 22 00 00 |.....3..|.b.. "..|
|00000ed0| 65 78 65 63 75 74 69 6e | 67 20 61 20 6d 65 74 68 |executin|g a meth|
|00000ee0| 6f 64 20 69 73 20 6b 6e | 6f 77 6e 20 61 73 20 07 |od is kn|own as .|
|00000ef0| 16 2e 02 00 16 2e 02 00 | 00 00 00 00 07 20 00 00 |........|..... ..|
|00000f00| 03 27 00 00 03 27 00 00 | 16 2e 02 00 00 00 00 00 |.'...'..|........|
|00000f10| 73 65 6e 64 69 6e 67 20 | 61 20 6d 65 73 73 61 67 |sending |a messag|
|00000f20| 65 08 61 20 16 2e 02 00 | 03 27 00 00 00 00 00 00 |e.a ....|.'......|
|00000f30| 08 77 6e 20 03 27 00 00 | 00 00 00 00 29 20 61 6e |.wn .'..|....) an|
|00000f40| 64 20 69 74 73 20 73 6c | 6f 74 73 20 61 72 65 20 |d its sl|ots are |
|00000f50| 69 6e 76 69 73 69 62 6c | 65 20 74 6f 20 74 68 65 |invisibl|e to the|
|00000f60| 20 72 65 73 74 20 6f 66 | 20 74 68 65 20 00 00 00 | rest of| the ...|
|00000f70| 00 b8 00 00 85 a8 00 00 | 02 38 3f 07 9a ed f4 ff |........|.8?.....|
|00000f80| 7a 1c f5 ff 20 22 00 00 | 77 6f 72 6c 64 2e 20 20 |z... "..|world. |
|00000f90| 4f 6e 6c 79 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |Only the| object |
|00000fa0| 63 61 6e 20 61 63 63 65 | 73 73 20 69 74 73 20 6f |can acce|ss its o|
|00000fb0| 77 6e 20 07 16 2f 02 00 | 16 2f 02 00 00 00 00 00 |wn ../..|./......|
|00000fc0| 73 6c 6f 74 73 08 b0 fe | 16 2f 02 00 00 00 00 00 |slots...|./......|
|00000fd0| 2c 20 61 6e 64 20 63 61 | 6e 20 6f 6e 6c 79 20 62 |, and ca|n only b|
|00000fe0| 65 20 63 6f 6d 6d 61 6e | 64 65 64 20 62 79 20 69 |e comman|ded by i|
|00000ff0| 74 73 20 07 16 30 02 00 | 16 30 02 00 00 00 00 00 |ts ..0..|.0......|
|00001000| 6d 65 74 68 6f 64 73 08 | 16 30 02 00 00 00 00 00 |methods.|.0......|
|00001010| 2e 20 20 54 68 69 73 20 | 00 a8 00 00 a5 94 00 00 |. This |........|
|00001020| 42 c8 4c 03 4a a7 f4 ff | 2a d6 f4 ff 20 22 00 00 |B.L.J...|*... "..|
|00001030| 67 69 76 65 73 20 61 6e | 20 6f 62 6a 65 63 74 20 |gives an| object |
|00001040| 76 65 72 79 20 64 79 6e | 61 6d 69 63 20 63 68 61 |very dyn|amic cha|
|00001050| 72 61 63 74 65 72 69 73 | 74 69 63 73 2e 07 07 20 |racteris|tics... |
|00001060| 0f 1d 00 00 0f 1d 00 00 | 00 00 00 00 07 ce af fe |........|........|
|00001070| 02 14 00 00 02 14 00 00 | 0f 1d 00 00 00 00 00 00 |........|........|
|00001080| 08 6f 62 6a 0f 1d 00 00 | 02 14 00 00 00 00 00 00 |.obj....|........|
|00001090| 0d 08 08 63 02 14 00 00 | 00 00 00 00 07 72 69 73 |...c....|.....ris|
|000010a0| 08 f3 00 00 08 f3 00 00 | 00 00 00 00 00 94 00 00 |........|........|
|000010b0| 01 10 00 00 00 00 00 00 | 00 00 00 00 00 10 00 00 |........|........|
|000010c0| 02 18 00 00 84 02 00 00 | 00 00 00 00 08 f3 00 00 |........|........|
|000010d0| 00 00 00 00 00 18 00 00 | ad 4c 00 00 52 1e aa 02 |........|.L..R...|
|000010e0| e9 fc f1 ff 99 33 f2 ff | 18 2b 00 f0 15 00 00 00 |.....3..|.+......|
|000010f0| 08 07 00 00 fa 6b 07 00 | 33 2e 33 20 20 48 6f 77 |.....k..|3.3 How|
|00001100| 20 74 6f 20 63 72 65 61 | 74 65 20 61 6e 20 6f 62 | to crea|te an ob|
|00001110| 6a 65 63 74 0d 08 08 00 | 08 f3 00 00 00 00 00 00 |ject....|........|
|00001120| 00 4c 00 00 2d 28 00 00 | 52 d8 03 00 19 c3 f1 ff |.L..-(..|R.......|
|00001130| f9 f1 f1 ff 20 22 00 f0 | 15 00 00 00 08 07 00 00 |.... "..|........|
|00001140| fa 6b 07 00 0d 00 00 00 | 00 28 00 00 0d 84 00 00 |.k......|.(......|
|00001150| 10 80 3c 07 c9 7c f1 ff | a9 ab f1 ff 20 22 00 f0 |..<..|..|.... "..|
|00001160| 15 00 00 00 08 07 00 00 | fa 6b 07 00 4e 6f 77 20 |........|.k..Now |
|00001170| 74 68 61 74 20 77 65 20 | 6b 6e 6f 77 20 77 68 61 |that we |know wha|
|00001180| 74 20 61 6e 20 6f 62 6a | 65 63 74 20 69 73 2c 20 |t an obj|ect is, |
|00001190| 68 6f 77 20 64 6f 65 73 | 20 47 52 53 20 61 6c 6c |how does| GRS all|
|000011a0| 6f 77 20 6f 62 6a 65 63 | 74 73 20 74 6f 20 62 65 |ow objec|ts to be|
|000011b0| 20 63 72 65 61 74 65 64 | 3f 20 20 54 68 69 73 20 | created|? This |
|000011c0| 69 73 20 61 63 68 69 65 | 76 65 64 20 00 84 00 00 |is achie|ved ....|
|000011d0| 8d a0 00 00 12 74 63 07 | 79 36 f1 ff 59 65 f1 ff |.....tc.|y6..Ye..|
|000011e0| 20 22 00 f0 15 00 00 00 | 08 07 00 00 fa 6b 07 00 | "......|.....k..|
|000011f0| 62 79 20 73 65 6e 64 69 | 6e 67 20 61 20 6d 65 73 |by sendi|ng a mes|
|00001200| 73 61 67 65 20 74 6f 20 | 61 6e 6f 74 68 65 72 20 |sage to |another |
|00001210| 6f 62 6a 65 63 74 21 20 | 20 57 68 65 6e 20 07 07 |object! | When ..|
|00001220| 16 31 02 00 16 31 02 00 | 00 00 00 00 73 74 61 72 |.1...1..|....star|
|00001230| 74 69 6e 67 20 75 70 20 | 47 52 53 08 16 31 02 00 |ting up |GRS..1..|
|00001240| 00 00 00 00 20 28 73 65 | 65 20 63 68 61 70 74 65 |.... (se|e chapte|
|00001250| 72 20 34 29 20 74 68 65 | 72 65 20 61 72 65 20 74 |r 4) the|re are t|
|00001260| 77 6f 20 6f 62 6a 65 63 | 74 73 20 00 00 a0 00 00 |wo objec|ts .....|
|00001270| ad f4 00 00 52 c4 db 05 | 29 f0 f0 ff 09 1f f1 ff |....R...|).......|
|00001280| 20 22 00 f0 15 00 00 00 | 08 07 00 00 fa 6b 07 00 | "......|.....k..|
|00001290| 61 6c 72 65 61 64 79 20 | 69 6e 73 74 61 6c 6c 65 |already |installe|
|000012a0| 64 2e 20 20 54 68 65 20 | 66 69 72 73 74 20 69 73 |d. The |first is|
|000012b0| 20 6b 6e 6f 77 6e 20 61 | 73 20 07 07 03 2b 00 00 | known a|s ...+..|
|000012c0| 03 2b 00 00 00 00 00 00 | 07 2b 00 00 16 32 02 00 |.+......|.+...2..|
|000012d0| 03 2b 00 00 16 32 02 00 | 00 00 00 00 6d 65 74 61 |.+...2..|....meta|
|000012e0| 5f 63 6c 61 73 73 08 08 | 16 32 02 00 03 2b 00 00 |_class..|.2...+..|
|000012f0| 00 00 00 00 08 32 02 00 | 03 2b 00 00 00 00 00 00 |.....2..|.+......|
|00001300| 2c 20 74 68 65 20 6f 74 | 68 65 72 20 69 73 20 6b |, the ot|her is k|
|00001310| 6e 6f 77 6e 20 61 73 20 | 07 73 20 6b 03 2c 00 00 |nown as |.s k.,..|
|00001320| 03 2c 00 00 00 00 00 00 | 07 2c 00 00 16 33 02 00 |.,......|.,...3..|
|00001330| 03 2c 00 00 16 33 02 00 | 00 00 00 00 63 6c 61 73 |.,...3..|....clas|
|00001340| 73 08 02 00 03 2c 00 00 | 16 33 02 00 00 00 00 00 |s....,..|.3......|
|00001350| 08 2c 00 00 16 33 02 00 | 00 00 00 00 2e 0d 00 00 |.,...3..|........|
|00001360| 00 f4 00 00 ad 80 00 00 | 52 f4 8a 05 d9 a9 f0 ff |........|R.......|
|00001370| b9 d8 f0 ff 20 22 00 f0 | 15 00 00 00 08 07 00 00 |.... "..|........|
|00001380| fa 6b 07 00 42 65 66 6f | 72 65 20 63 6f 6e 74 69 |.k..Befo|re conti|
|00001390| 6e 75 69 6e 67 2c 20 74 | 68 65 20 68 69 65 72 61 |nuing, t|he hiera|
|000013a0| 72 63 68 79 20 77 68 69 | 63 68 20 65 78 69 73 74 |rchy whi|ch exist|
|000013b0| 73 20 62 65 74 77 65 65 | 6e 20 6f 62 6a 65 63 74 |s betwee|n object|
|000013c0| 73 20 69 73 20 65 78 70 | 6c 61 69 6e 65 64 2e 07 |s is exp|lained..|
|000013d0| 02 14 00 00 02 14 00 00 | 00 00 00 00 0d 00 00 00 |........|........|
|000013e0| 00 80 00 00 ad 40 00 00 | 52 8c 01 00 09 3e f0 ff |.....@..|R....>..|
|000013f0| 59 84 f0 ff 68 37 00 f0 | 15 00 00 00 08 07 00 00 |Y...h7..|........|
|00001400| fa 6b 07 00 0d 08 08 00 | 02 14 00 00 00 00 00 00 |.k......|........|
|00001410| 07 08 08 00 08 f4 00 00 | 08 f4 00 00 00 00 00 00 |........|........|
|00001420| 00 40 00 00 2d 40 00 00 | 52 0a 5b 02 49 f9 ef ff |.@..-@..|R.[.I...|
|00001430| f9 2f f0 ff 18 2b 00 f0 | 15 00 00 00 08 07 00 00 |./...+..|........|
|00001440| fa 6b 07 00 33 2e 34 20 | 20 54 68 65 20 6f 62 6a |.k..3.4 | The obj|
|00001450| 65 63 74 20 68 69 65 72 | 61 72 63 68 79 0d 00 00 |ect hier|archy...|
|00001460| 00 40 00 00 ad 30 00 00 | 52 34 01 00 a9 b7 ef ff |.@...0..|R4......|
|00001470| 59 ee ef ff 18 2b 00 f0 | 15 00 00 00 08 07 00 00 |Y....+..|........|
|00001480| fa 6b 07 00 0d 08 08 00 | 08 f4 00 00 00 00 00 00 |.k......|........|
|00001490| 00 30 00 00 0d 88 00 00 | 10 18 59 07 d9 7d ef ff |.0......|..Y..}..|
|000014a0| b9 ac ef ff 20 22 00 f0 | 15 00 00 00 08 07 00 00 |.... "..|........|
|000014b0| fa 6b 07 00 54 68 65 20 | 65 78 61 6d 70 6c 65 20 |.k..The |example |
|000014c0| 43 20 63 6f 64 65 20 61 | 62 6f 76 65 20 65 78 70 |C code a|bove exp|
|000014d0| 6c 61 69 6e 65 64 20 68 | 6f 77 20 61 20 73 74 72 |lained h|ow a str|
|000014e0| 75 63 74 75 72 65 20 64 | 65 73 63 72 69 62 69 6e |ucture d|escribin|
|000014f0| 67 20 61 20 70 65 72 73 | 6f 6e 20 69 73 20 62 75 |g a pers|on is bu|
|00001500| 69 6c 74 2e 20 20 53 6f | 2c 20 77 65 20 6d 61 79 |ilt. So|, we may|
|00001510| 20 68 61 76 65 20 00 00 | 00 88 00 00 8d c4 00 00 | have ..|........|
|00001520| 12 48 1d 07 89 37 ef ff | 69 66 ef ff 20 22 00 f0 |.H...7..|if.. "..|
|00001530| 15 00 00 00 08 07 00 00 | fa 6b 07 00 61 20 70 65 |........|.k..a pe|
|00001540| 72 73 6f 6e 20 77 68 6f | 73 65 20 6e 61 6d 65 20 |rson who|se name |
|00001550| 69 73 20 46 72 65 64 20 | 61 6e 64 20 61 67 65 20 |is Fred |and age |
|00001560| 69 73 20 34 32 2e 20 20 | 46 72 65 64 20 69 73 20 |is 42. |Fred is |
|00001570| 73 69 6d 70 6c 79 20 61 | 6e 20 07 07 16 34 02 00 |simply a|n ...4..|
|00001580| 16 34 02 00 00 00 00 00 | 07 34 02 00 03 2d 00 00 |.4......|.4...-..|
|00001590| 03 2d 00 00 16 34 02 00 | 00 00 00 00 69 6e 73 74 |.-...4..|....inst|
|000015a0| 61 6e 63 65 08 34 02 00 | 16 34 02 00 03 2d 00 00 |ance.4..|.4...-..|
|000015b0| 00 00 00 00 08 05 05 05 | 03 2d 00 00 00 00 00 00 |........|.-......|
|000015c0| 20 6f 66 20 61 20 70 65 | 72 73 6f 6e 2c 20 77 68 | of a pe|rson, wh|
|000015d0| 69 63 68 20 6d 65 61 6e | 73 20 00 00 00 c4 00 00 |ich mean|s ......|
|000015e0| 0d 8c 00 00 10 7c 22 07 | 39 f1 ee ff 19 20 ef ff |.....|".|9.... ..|
|000015f0| 20 22 00 f0 15 00 00 00 | 08 07 00 00 fa 6b 07 00 | "......|.....k..|
|00001600| 74 68 61 74 20 46 72 65 | 64 20 63 61 6e 20 64 6f |that Fre|d can do|
|00001610| 20 61 6c 6c 20 6f 66 20 | 74 68 65 20 74 68 69 6e | all of |the thin|
|00001620| 67 73 20 61 20 70 65 72 | 73 6f 6e 20 63 61 6e 20 |gs a per|son can |
|00001630| 64 6f 2e 20 20 53 69 6d | 69 6c 61 72 6c 79 2c 20 |do. Sim|ilarly, |
|00001640| 61 20 73 74 72 75 63 74 | 75 72 65 20 64 65 73 63 |a struct|ure desc|
|00001650| 72 69 62 69 6e 67 20 61 | 20 74 61 6e 6b 20 6d 61 |ribing a| tank ma|
|00001660| 79 20 62 65 20 00 00 00 | 00 8c 00 00 0d 84 00 00 |y be ...|........|
|00001670| 10 cc cc 06 e9 aa ee ff | c9 d9 ee ff 20 22 00 f0 |........|.... "..|
|00001680| 15 00 00 00 08 07 00 00 | fa 6b 07 00 62 75 69 6c |........|.k..buil|
|00001690| 74 2c 20 77 69 74 68 20 | 69 74 73 20 70 6f 73 69 |t, with |its posi|
|000016a0| 74 69 6f 6e 2c 20 61 6e | 64 20 77 68 69 63 68 20 |tion, an|d which |
|000016b0| 73 69 64 65 20 69 74 20 | 69 73 20 66 69 67 68 74 |side it |is fight|
|000016c0| 69 6e 67 20 66 6f 72 2c | 20 6d 65 61 6e 69 6e 67 |ing for,| meaning|
|000016d0| 20 74 68 65 20 4b 69 6e | 67 20 54 69 67 65 72 20 | the Kin|g Tiger |
|000016e0| 77 6f 75 6c 64 20 62 65 | 20 61 6e 20 00 84 00 00 |would be| an ....|
|000016f0| 0d 88 00 00 10 f8 1b 07 | 99 64 ee ff 79 93 ee ff |........|.d..y...|
|00001700| 20 22 00 f0 15 00 00 00 | 08 07 00 00 fa 6b 07 00 | "......|.....k..|
|00001710| 69 6e 73 74 61 6e 63 65 | 20 6f 66 20 61 20 74 61 |instance| of a ta|
|00001720| 6e 6b 2c 20 61 6e 64 20 | 63 6f 75 6c 64 20 64 6f |nk, and |could do|
|00001730| 20 65 76 65 72 79 74 68 | 69 6e 67 20 77 68 69 63 | everyth|ing whic|
|00001740| 68 20 61 20 74 61 6e 6b | 20 63 6f 75 6c 64 20 64 |h a tank| could d|
|00001750| 6f 2e 20 20 53 6f 2c 20 | 69 66 20 77 65 20 61 73 |o. So, |if we as|
|00001760| 6b 65 64 20 46 72 65 64 | 20 74 6f 20 6d 6f 76 65 |ked Fred| to move|
|00001770| 20 00 00 00 00 88 00 00 | 0d 84 00 00 10 b8 01 07 | .......|........|
|00001780| 49 1e ee ff 29 4d ee ff | 20 22 00 f0 15 00 00 00 |I...)M..| "......|
|00001790| 08 07 00 00 fa 6b 07 00 | 66 6f 72 77 61 72 64 2c |.....k..|forward,|
|000017a0| 20 68 65 20 77 6f 75 6c | 64 20 73 74 65 70 20 66 | he woul|d step f|
|000017b0| 6f 72 77 61 72 64 2e 20 | 20 49 66 20 77 65 20 61 |orward. | If we a|
|000017c0| 73 6b 65 64 20 74 68 65 | 20 4b 69 6e 67 20 54 69 |sked the| King Ti|
|000017d0| 67 65 72 20 74 6f 20 6d | 6f 76 65 20 66 6f 72 77 |ger to m|ove forw|
|000017e0| 61 72 64 2c 20 74 68 65 | 72 65 20 77 6f 75 6c 64 |ard, the|re would|
|000017f0| 20 62 65 20 61 20 00 00 | 00 84 00 00 0d 8c 00 00 | be a ..|........|
|00001800| 10 b4 5f 07 f9 d7 ed ff | d9 06 ee ff 20 22 00 f0 |.._.....|.... "..|
|00001810| 15 00 00 00 08 07 00 00 | fa 6b 07 00 67 72 69 6e |........|.k..grin|
|00001820| 64 69 6e 67 20 6f 66 20 | 67 65 61 72 73 2c 20 61 |ding of |gears, a|
|00001830| 6e 64 20 69 74 20 77 6f | 75 6c 64 20 6d 6f 76 65 |nd it wo|uld move|
|00001840| 20 66 6f 72 77 61 72 64 | 2e 20 20 49 66 20 77 65 | forward|. If we|
|00001850| 20 61 73 6b 65 64 20 46 | 72 65 64 20 74 6f 20 73 | asked F|red to s|
|00001860| 69 74 20 64 6f 77 6e 2c | 20 68 65 20 77 6f 75 6c |it down,| he woul|
|00001870| 64 20 64 6f 20 73 6f 2c | 20 62 75 74 20 74 68 65 |d do so,| but the|
|00001880| 20 00 00 00 00 8c 00 00 | 0d 8c 00 00 10 fc 4a 07 | .......|......J.|
|00001890| a9 91 ed ff 89 c0 ed ff | 20 22 00 f0 15 00 00 00 |........| "......|
|000018a0| 08 07 00 00 fa 6b 07 00 | 4b 69 6e 67 20 54 69 67 |.....k..|King Tig|
|000018b0| 65 72 20 77 6f 75 6c 64 | 20 62 65 20 61 20 6c 69 |er would| be a li|
|000018c0| 74 74 6c 65 20 6c 6f 73 | 74 21 20 20 53 69 6d 69 |ttle los|t! Simi|
|000018d0| 6c 61 72 6c 79 2c 20 61 | 73 6b 69 6e 67 20 74 68 |larly, a|sking th|
|000018e0| 65 20 4b 69 6e 67 20 54 | 69 67 65 72 20 74 6f 20 |e King T|iger to |
|000018f0| 66 69 72 65 20 61 20 73 | 68 65 6c 6c 20 61 20 66 |fire a s|hell a f|
|00001900| 65 77 20 6d 69 6c 65 73 | 20 77 6f 75 6c 64 20 00 |ew miles| would .|
|00001910| 00 8c 00 00 2d 5c 00 00 | 52 50 33 04 59 4b ed ff |....-\..|RP3.YK..|
|00001920| 39 7a ed ff 20 22 00 f0 | 15 00 00 00 08 07 00 00 |9z.. "..|........|
|00001930| fa 6b 07 00 63 61 75 73 | 65 20 69 74 20 6e 6f 20 |.k..caus|e it no |
|00001940| 70 72 6f 62 6c 65 6d 73 | 2c 20 46 72 65 64 20 77 |problems|, Fred w|
|00001950| 6f 75 6c 64 20 68 6f 77 | 65 76 65 72 20 62 65 20 |ould how|ever be |
|00001960| 73 74 72 75 67 67 6c 69 | 6e 67 21 0d 00 5c 00 00 |struggli|ng!..\..|
|00001970| 2d 28 00 00 52 d8 03 00 | 09 05 ed ff e9 33 ed ff |-(..R...|.....3..|
|00001980| 20 22 00 f0 15 00 00 00 | 08 07 00 00 fa 6b 07 00 | "......|.....k..|
|00001990| 0d 00 00 00 00 28 00 00 | 0d 8c 00 00 10 e0 42 07 |.....(..|......B.|
|000019a0| b9 be ec ff 99 ed ec ff | 20 22 00 f0 15 00 00 00 |........| "......|
|000019b0| 08 07 00 00 fa 6b 07 00 | 54 68 65 20 70 6f 69 6e |.....k..|The poin|
|000019c0| 74 20 68 65 72 65 20 69 | 73 20 74 68 61 74 20 69 |t here i|s that i|
|000019d0| 6e 73 74 61 6e 63 65 73 | 20 6f 66 20 61 20 70 65 |nstances| of a pe|
|000019e0| 72 73 6f 6e 20 68 61 76 | 65 20 74 68 65 20 63 68 |rson hav|e the ch|
|000019f0| 61 72 61 63 74 65 72 69 | 73 74 69 63 73 20 6f 66 |aracteri|stics of|
|00001a00| 20 70 65 6f 70 6c 65 2c | 20 61 6e 64 20 61 6c 6c | people,| and all|
|00001a10| 20 69 6e 73 74 61 6e 63 | 65 73 20 6f 66 20 61 20 | instanc|es of a |
|00001a20| 00 8c 00 00 0d 84 00 00 | 10 c4 bc 06 69 78 ec ff |........|....ix..|
|00001a30| 49 a7 ec ff 20 22 00 f0 | 15 00 00 00 08 07 00 00 |I... "..|........|
|00001a40| fa 6b 07 00 74 61 6e 6b | 20 68 61 76 65 20 74 68 |.k..tank| have th|
|00001a50| 65 20 63 68 61 72 61 63 | 74 65 72 69 73 74 69 63 |e charac|teristic|
|00001a60| 73 20 6f 66 20 61 20 74 | 61 6e 6b 2e 20 20 20 94 |s of a t|ank. .|
|00001a70| 50 65 6f 70 6c 65 6e 65 | 73 73 95 20 61 6e 64 20 |Peoplene|ss. and |
|00001a80| 94 74 61 6e 6b 6e 65 73 | 73 95 20 6d 61 79 20 73 |.tanknes|s. may s|
|00001a90| 65 65 6d 20 73 69 6d 69 | 6c 61 72 20 28 66 6f 72 |eem simi|lar (for|
|00001aa0| 20 00 00 00 00 84 00 00 | 0d 88 00 00 10 90 41 07 | .......|......A.|
|00001ab0| 19 32 ec ff f9 60 ec ff | 20 22 00 f0 15 00 00 00 |.2...`..| "......|
|00001ac0| 08 07 00 00 fa 6b 07 00 | 65 78 61 6d 70 6c 65 20 |.....k..|example |
|00001ad0| 62 6f 74 68 20 63 61 6e | 20 73 65 6e 73 69 62 6c |both can| sensibl|
|00001ae0| 79 20 72 65 73 70 6f 6e | 64 20 74 6f 20 74 68 65 |y respon|d to the|
|00001af0| 20 6d 65 73 73 61 67 65 | 20 94 67 6f 20 66 6f 72 | message| .go for|
|00001b00| 77 61 72 64 95 29 2c 20 | 62 75 74 20 74 68 65 79 |ward.), |but they|
|00001b10| 20 63 61 6e 20 62 65 20 | 61 73 20 64 69 66 66 65 | can be |as diffe|
|00001b20| 72 65 6e 74 20 6f 72 20 | 61 73 20 00 00 88 00 00 |rent or |as .....|
|00001b30| 2d 50 00 00 52 58 53 03 | c9 eb eb ff a9 1a ec ff |-P..RXS.|........|
|00001b40| 20 22 00 f0 15 00 00 00 | 08 07 00 00 fa 6b 07 00 | "......|.....k..|
|00001b50| 73 69 6d 69 6c 61 72 20 | 61 73 20 77 68 6f 65 76 |similar |as whoev|
|00001b60| 65 72 20 63 72 65 61 74 | 65 64 20 74 68 65 6d 20 |er creat|ed them |
|00001b70| 77 6f 75 6c 64 20 77 69 | 73 68 2e 0d 00 50 00 00 |would wi|sh...P..|
|00001b80| 2d 28 00 00 52 d8 03 00 | 79 a5 eb ff 59 d4 eb ff |-(..R...|y...Y...|
|00001b90| 20 22 00 f0 15 00 00 00 | 08 07 00 00 fa 6b 07 00 | "......|.....k..|
|00001ba0| 0d 00 00 00 00 28 00 00 | 8d 88 00 00 12 d4 91 03 |.....(..|........|
|00001bb0| 29 5f eb ff 09 8e eb ff | 20 22 00 f0 15 00 00 00 |)_......| "......|
|00001bc0| 08 07 00 00 b1 e0 03 00 | 49 6e 20 47 52 53 2c 20 |........|In GRS, |
|00001bd0| 70 68 65 6e 6f 6d 65 6e | 61 20 73 75 63 68 20 61 |phenomen|a such a|
|00001be0| 73 20 07 07 03 2e 00 00 | 03 2e 00 00 00 00 00 00 |s ......|........|
|00001bf0| 70 65 72 73 6f 6e 08 00 | 03 2e 00 00 00 00 00 00 |person..|........|
|00001c00| 20 61 6e 64 20 07 08 61 | 03 2f 00 00 03 2f 00 00 | and ..a|./.../..|
|00001c10| 00 00 00 00 74 61 6e 6b | 08 08 00 00 03 2f 00 00 |....tank|...../..|
|00001c20| 00 00 00 00 20 61 72 65 | 20 00 00 00 00 88 00 00 |.... are| .......|
|00001c30| 8d 94 00 00 12 cc 84 03 | d9 18 eb ff b9 47 eb ff |........|.....G..|
|00001c40| 20 22 00 f0 15 00 00 00 | 08 07 00 00 b1 e0 03 00 | "......|........|
|00001c50| 6b 6e 6f 77 6e 20 61 73 | 20 07 07 00 03 30 00 00 |known as| ....0..|
|00001c60| 03 30 00 00 00 00 00 00 | 07 07 07 00 16 35 02 00 |.0......|.....5..|
|00001c70| 03 30 00 00 16 35 02 00 | 00 00 00 00 63 6c 61 73 |.0...5..|....clas|
|00001c80| 73 65 73 08 03 30 00 00 | 16 35 02 00 00 00 00 00 |ses..0..|.5......|
|00001c90| 08 65 73 08 16 35 02 00 | 00 00 00 00 2e 20 20 41 |.es..5..|..... A|
|00001ca0| 20 63 6c 61 73 73 20 64 | 65 73 63 72 69 62 65 73 | class d|escribes|
|00001cb0| 20 65 78 61 63 74 6c 79 | 20 74 68 65 20 00 00 00 | exactly| the ...|
|00001cc0| 00 94 00 00 8d 70 00 00 | 12 94 8c 03 89 d2 ea ff |.....p..|........|
|00001cd0| 69 01 eb ff 20 22 00 f0 | 15 00 00 00 08 07 00 00 |i... "..|........|
|00001ce0| b1 e0 03 00 70 72 6f 70 | 65 72 74 69 65 73 20 61 |....prop|erties a|
|00001cf0| 6e 64 20 62 65 68 61 76 | 69 6f 75 72 20 6f 66 20 |nd behav|iour of |
|00001d00| 65 61 63 68 20 6f 66 20 | 69 74 73 20 07 07 66 20 |each of |its ..f |
|00001d10| 16 36 02 00 16 36 02 00 | 00 00 00 00 69 6e 73 74 |.6...6..|....inst|
|00001d20| 61 6e 63 65 73 20 08 00 | 16 36 02 00 00 00 00 00 |ances ..|.6......|
|00001d30| 00 70 00 00 0d 58 00 00 | 10 b0 88 03 39 8c ea ff |.p...X..|....9...|
|00001d40| 19 bb ea ff 20 22 00 f0 | 15 00 00 00 08 07 00 00 |.... "..|........|
|00001d50| b1 e0 03 00 28 73 75 63 | 68 20 61 73 20 46 72 65 |....(suc|h as Fre|
|00001d60| 64 20 6f 72 20 74 68 65 | 20 4b 69 6e 67 20 54 69 |d or the| King Ti|
|00001d70| 67 65 72 29 2c 20 61 6e | 64 20 70 72 6f 76 69 64 |ger), an|d provid|
|00001d80| 65 73 20 61 20 00 00 00 | 00 58 00 00 ad 60 00 00 |es a ...|.X...`..|
|00001d90| 52 c8 7d 02 e9 45 ea ff | c9 74 ea ff 20 22 00 f0 |R.}..E..|.t.. "..|
|00001da0| 15 00 00 00 08 07 00 00 | b1 e0 03 00 6d 65 61 6e |........|....mean|
|00001db0| 73 20 66 6f 72 20 07 07 | 16 37 02 00 16 37 02 00 |s for ..|.7...7..|
|00001dc0| 00 00 00 00 63 72 65 61 | 74 69 6e 67 20 6e 65 77 |....crea|ting new|
|00001dd0| 20 69 6e 73 74 61 6e 63 | 65 73 08 61 16 37 02 00 | instanc|es.a.7..|
|00001de0| 00 00 00 00 2e 0d 00 00 | 00 60 00 00 2d 28 00 00 |........|.`..-(..|
|00001df0| 52 d8 03 00 99 ff e9 ff | 79 2e ea ff 20 22 00 00 |R.......|y... "..|
|00001e00| 15 00 00 00 08 07 00 00 | b1 e0 03 00 0d 00 00 00 |........|........|
|00001e10| 00 28 00 00 0d 54 00 00 | 10 78 42 03 49 b9 e9 ff |.(...T..|.xB.I...|
|00001e20| 29 e8 e9 ff 20 22 00 00 | 15 00 00 00 08 07 00 00 |)... "..|........|
|00001e30| b1 e0 03 00 57 69 74 68 | 69 6e 20 47 52 53 2c 20 |....With|in GRS, |
|00001e40| 65 76 65 72 79 20 6f 62 | 6a 65 63 74 20 69 73 20 |every ob|ject is |
|00001e50| 74 72 65 61 74 65 64 20 | 65 71 75 61 6c 6c 79 2c |treated |equally,|
|00001e60| 20 00 00 00 00 54 00 00 | 8d 74 00 00 12 cc d2 03 | ....T..|.t......|
|00001e70| f9 72 e9 ff d9 a1 e9 ff | 20 22 00 00 15 00 00 00 |.r......| "......|
|00001e80| 08 07 00 00 b1 e0 03 00 | 74 68 65 72 65 66 6f 72 |........|therefor|
|00001e90| 65 20 65 61 63 68 20 68 | 61 73 20 61 20 63 6c 61 |e each h|as a cla|
|00001ea0| 73 73 2e 20 20 46 6f 72 | 20 63 61 73 65 73 20 73 |ss. For| cases s|
|00001eb0| 75 63 68 20 61 73 20 07 | 03 31 00 00 03 31 00 00 |uch as .|.1...1..|
|00001ec0| 00 00 00 00 70 65 72 73 | 6f 6e 08 07 03 31 00 00 |....pers|on...1..|
|00001ed0| 00 00 00 00 20 00 00 00 | 00 74 00 00 8d b0 00 00 |.... ...|.t......|
|00001ee0| 12 f8 9a 03 a9 2c e9 ff | 89 5b e9 ff 20 22 00 00 |.....,..|.[.. "..|
|00001ef0| 15 00 00 00 08 07 00 00 | b1 e0 03 00 6f 72 20 07 |........|....or .|
|00001f00| 03 32 00 00 03 32 00 00 | 00 00 00 00 74 61 6e 6b |.2...2..|....tank|
|00001f10| 08 72 20 07 03 32 00 00 | 00 00 00 00 2c 20 74 68 |.r ..2..|...., th|
|00001f20| 65 69 72 20 63 6c 61 73 | 73 20 69 73 20 74 68 65 |eir clas|s is the|
|00001f30| 20 6f 62 6a 65 63 74 20 | 63 61 6c 6c 65 64 20 07 | object |called .|
|00001f40| 03 33 00 00 03 33 00 00 | 00 00 00 00 07 61 6c 6c |.3...3..|.....all|
|00001f50| 16 38 02 00 03 33 00 00 | 16 38 02 00 00 00 00 00 |.8...3..|.8......|
|00001f60| 63 6c 61 73 73 08 02 00 | 03 33 00 00 16 38 02 00 |class...|.3...8..|
|00001f70| 00 00 00 00 08 6c 61 73 | 16 38 02 00 00 00 00 00 |.....las|.8......|
|00001f80| 2e 20 20 54 68 65 20 00 | 00 b0 00 00 8d b4 00 00 |. The .|........|
|00001f90| 12 d4 af 03 59 e6 e8 ff | 39 15 e9 ff 20 22 00 00 |....Y...|9... "..|
|00001fa0| 15 00 00 00 08 07 00 00 | b1 e0 03 00 63 6c 61 73 |........|....clas|
|00001fb0| 73 20 6f 66 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |s of the| object |
|00001fc0| 07 07 61 73 03 34 00 00 | 03 34 00 00 00 00 00 00 |..as.4..|.4......|
|00001fd0| 63 6c 61 73 73 08 00 00 | 03 34 00 00 00 00 00 00 |class...|.4......|
|00001fe0| 20 69 73 20 07 6c 61 73 | 03 35 00 00 03 35 00 00 | is .las|.5...5..|
|00001ff0| 00 00 00 00 07 69 73 20 | 16 39 02 00 03 35 00 00 |.....is |.9...5..|
|00002000| 16 39 02 00 00 00 00 00 | 6d 65 74 61 5f 63 6c 61 |.9......|meta_cla|
|00002010| 73 73 08 00 16 39 02 00 | 03 35 00 00 00 00 00 00 |ss...9..|.5......|
|00002020| 08 63 6c 61 03 35 00 00 | 00 00 00 00 2c 20 74 68 |.cla.5..|...., th|
|00002030| 65 20 63 6c 61 73 73 20 | 6f 66 20 00 00 b4 00 00 |e class |of .....|
|00002040| 8d 9c 00 00 12 20 b5 03 | 09 a0 e8 ff e9 ce e8 ff |..... ..|........|
|00002050| 20 22 00 00 15 00 00 00 | 08 07 00 00 b1 e0 03 00 | "......|........|
|00002060| 77 68 69 63 68 20 69 73 | 20 69 74 73 65 6c 66 2c |which is| itself,|
|00002070| 20 69 65 20 07 07 69 63 | 16 3a 02 00 16 3a 02 00 | ie ..ic|.:...:..|
|00002080| 00 00 00 00 07 69 65 20 | 03 36 00 00 03 36 00 00 |.....ie |.6...6..|
|00002090| 16 3a 02 00 00 00 00 00 | 6d 65 74 61 5f 63 6c 61 |.:......|meta_cla|
|000020a0| 73 73 08 00 16 3a 02 00 | 03 36 00 00 00 00 00 00 |ss...:..|.6......|
|000020b0| 08 63 6c 61 03 36 00 00 | 00 00 00 00 2e 20 20 54 |.cla.6..|..... T|
|000020c0| 68 69 73 20 69 73 20 6d | 61 64 65 20 61 20 6c 69 |his is m|ade a li|
|000020d0| 74 74 6c 65 20 00 00 00 | 00 9c 00 00 2d 3c 00 00 |ttle ...|....-<..|
|000020e0| 52 e8 7f 01 b9 59 e8 ff | 99 88 e8 ff 20 22 00 00 |R....Y..|.... "..|
|000020f0| 15 00 00 00 08 07 00 00 | fa 6b 07 00 63 6c 65 61 |........|.k..clea|
|00002100| 72 65 72 20 69 6e 20 66 | 69 67 75 72 65 20 4f 31 |rer in f|igure O1|
|00002110| 2e 0d 00 00 00 3c 00 00 | 2d 28 00 00 52 d8 03 00 |.....<..|-(..R...|
|00002120| 69 13 e8 ff 49 42 e8 ff | 20 22 00 00 15 00 00 00 |i...IB..| "......|
|00002130| 08 07 00 00 fa 6b 07 00 | 0d 00 00 00 00 28 00 00 |.....k..|.....(..|
|00002140| 0d 8c 00 00 10 0c 3b 07 | 19 cd e7 ff f9 fb e7 ff |......;.|........|
|00002150| 20 22 00 00 15 00 00 00 | 08 07 00 00 fa 6b 07 00 | "......|.....k..|
|00002160| 54 6f 20 63 72 65 61 74 | 65 20 61 6e 20 69 6e 73 |To creat|e an ins|
|00002170| 74 61 6e 63 65 20 6f 66 | 20 61 20 63 6c 61 73 73 |tance of| a class|
|00002180| 2c 20 74 68 65 20 6d 65 | 73 73 61 67 65 20 94 6e |, the me|ssage .n|
|00002190| 65 77 95 20 69 73 20 73 | 65 6e 74 20 74 6f 20 74 |ew. is s|ent to t|
|000021a0| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 6f |he appro|priate o|
|000021b0| 62 6a 65 63 74 2e 20 20 | 46 6f 72 20 65 78 61 6d |bject. |For exam|
|000021c0| 70 6c 65 2c 20 00 00 00 | 00 8c 00 00 ad 98 00 00 |ple, ...|........|
|000021d0| 52 cc f0 03 c9 86 e7 ff | a9 b5 e7 ff 20 22 00 00 |R.......|.... "..|
|000021e0| 15 00 00 00 08 07 00 00 | fa 6b 07 00 74 6f 20 63 |........|.k..to c|
|000021f0| 72 65 61 74 65 20 61 20 | 6e 65 77 20 65 78 61 6d |reate a |new exam|
|00002200| 70 6c 65 20 6f 66 20 74 | 68 65 20 63 6c 61 73 73 |ple of t|he class|
|00002210| 20 07 07 6d 03 38 00 00 | 03 38 00 00 00 00 00 00 | ..m.8..|.8......|
|00002220| 63 6c 61 73 73 08 07 69 | 03 38 00 00 00 00 00 00 |class..i|.8......|
|00002230| 2c 20 74 68 65 20 63 6f | 64 65 20 69 73 0d 07 07 |, the co|de is...|
|00002240| 0f 39 00 00 0f 39 00 00 | 00 00 00 00 07 65 20 69 |.9...9..|.....e i|
|00002250| 16 4f 02 00 0f 39 00 00 | 16 4f 02 00 00 00 00 00 |.O...9..|.O......|
|00002260| 00 98 00 00 01 10 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002270| 00 10 00 00 02 1c 00 00 | dc 05 00 00 00 00 00 00 |........|........|
|00002280| 0f 39 00 00 16 4f 02 00 | 00 00 00 00 00 1c 00 00 |.9...O..|........|
|00002290| a5 40 00 00 42 80 32 02 | d8 0c e5 ff e8 33 e5 ff |.@..B.2.|.....3..|
|000022a0| 82 19 00 00 69 6e 73 74 | 61 6e 63 65 6f 66 20 08 |....inst|anceof .|
|000022b0| 16 4f 02 00 0f 39 00 00 | 00 00 00 00 63 6c 61 73 |.O...9..|....clas|
|000022c0| 73 20 70 65 72 73 6f 6e | 3b 0d 00 00 00 40 00 00 |s person|;....@..|
|000022d0| a5 74 00 00 42 20 36 04 | f8 dd e4 ff 08 05 e5 ff |.t..B 6.|........|
|000022e0| 82 19 00 00 70 65 72 73 | 6f 6e 20 3a 3d 20 07 07 |....pers|on := ..|
|000022f0| 16 50 02 00 0f 39 00 00 | 16 50 02 00 00 00 00 00 |.P...9..|.P......|
|00002300| 63 6c 61 73 73 2e 6e 65 | 77 08 02 00 16 50 02 00 |class.ne|w....P..|
|00002310| 0f 39 00 00 00 00 00 00 | 28 20 2e 2e 2e 2e 73 6f |.9......|( ....so|
|00002320| 6d 65 20 70 61 72 61 6d | 65 74 65 72 73 2e 2e 2e |me param|eters...|
|00002330| 20 29 3b 0d 08 2e 73 6f | 0f 39 00 00 00 00 00 00 | );...so|.9......|
|00002340| 00 74 00 00 25 1c 00 00 | 42 d8 03 00 48 a7 e4 ff |.t..%...|B...H...|
|00002350| 28 d6 e4 ff 20 22 00 00 | 0d 00 00 00 00 1c 00 00 |(... "..|........|
|00002360| 25 48 00 00 42 d0 3b 03 | f8 60 e4 ff d8 8f e4 ff |%H..B.;.|.`......|
|00002370| 20 22 00 00 54 68 65 20 | 70 61 72 61 6d 65 74 65 | "..The |paramete|
|00002380| 72 73 20 61 72 65 20 65 | 78 70 6c 61 69 6e 65 64 |rs are e|xplained|
|00002390| 20 69 6e 20 64 65 74 61 | 69 6c 20 6c 61 74 65 72 | in deta|il later|
|000023a0| 2e 0d 00 00 00 48 00 00 | 25 1c 00 00 42 d8 03 00 |.....H..|%...B...|
|000023b0| a8 1a e4 ff 88 49 e4 ff | 20 22 00 00 0d 00 00 00 |.....I..| "......|
|000023c0| 00 1c 00 00 85 90 00 00 | 02 44 ee 06 58 d4 e3 ff |........|.D..X...|
|000023d0| 38 03 e4 ff 20 22 00 00 | 4e 6f 74 69 63 65 20 74 |8... "..|Notice t|
|000023e0| 68 65 20 66 6f 72 6d 20 | 6f 66 20 07 16 3b 02 00 |he form |of ..;..|
|000023f0| 16 3b 02 00 00 00 00 00 | 73 65 6e 64 69 6e 67 20 |.;......|sending |
|00002400| 61 20 6d 65 73 73 61 67 | 65 08 02 00 16 3b 02 00 |a messag|e....;..|
|00002410| 00 00 00 00 98 74 68 65 | 20 6f 62 6a 65 63 74 20 |.....the| object |
|00002420| 74 6f 20 72 65 63 65 69 | 76 65 20 74 68 65 20 6d |to recei|ve the m|
|00002430| 65 73 73 61 67 65 20 70 | 72 65 63 65 64 65 73 20 |essage p|recedes |
|00002440| 74 68 65 20 64 6f 74 2c | 20 74 68 65 20 00 00 00 |the dot,| the ...|
|00002450| 00 90 00 00 25 7c 00 00 | 42 78 26 07 08 8e e3 ff |....%|..|Bx&.....|
|00002460| e8 bc e3 ff 20 22 00 00 | 6d 65 73 73 61 67 65 20 |.... "..|message |
|00002470| 74 6f 20 70 61 73 73 20 | 66 6f 6c 6c 6f 77 73 20 |to pass |follows |
|00002480| 74 68 65 20 64 6f 74 2e | 20 20 54 68 65 20 6d 65 |the dot.| The me|
|00002490| 73 73 61 67 65 20 66 6f | 6c 6c 6f 77 73 20 74 68 |ssage fo|llows th|
|000024a0| 65 20 75 73 75 61 6c 20 | 72 75 6c 65 73 20 66 6f |e usual |rules fo|
|000024b0| 72 20 63 61 6c 6c 69 6e | 67 20 61 20 47 52 53 20 |r callin|g a GRS |
|000024c0| 66 75 6e 63 74 69 6f 6e | 2e 0d 00 00 00 7c 00 00 |function|.....|..|
|000024d0| a5 a8 00 00 42 18 c4 05 | b8 47 e3 ff 98 76 e3 ff |....B...|.G...v..|
|000024e0| 20 22 00 00 49 6e 20 74 | 68 65 20 63 61 73 65 20 | "..In t|he case |
|000024f0| 6f 66 20 07 16 3c 02 00 | 16 3c 02 00 00 00 00 00 |of ..<..|.<......|
|00002500| 73 65 6e 64 69 6e 67 20 | 74 68 65 20 6d 65 73 73 |sending |the mess|
|00002510| 61 67 65 20 94 6e 65 77 | 95 08 02 00 16 3c 02 00 |age .new|.....<..|
|00002520| 00 00 00 00 20 74 6f 20 | 74 68 65 20 63 6c 61 73 |.... to |the clas|
|00002530| 73 20 07 20 03 3a 00 00 | 03 3a 00 00 00 00 00 00 |s . .:..|.:......|
|00002540| 63 6c 61 73 73 08 6f 20 | 03 3a 00 00 00 00 00 00 |class.o |.:......|
|00002550| 2c 20 74 68 65 20 70 61 | 72 61 6d 65 74 65 72 73 |, the pa|rameters|
|00002560| 20 61 72 65 0d 07 61 73 | 06 45 00 00 06 45 00 00 | are..as|.E...E..|
|00002570| 00 00 00 00 00 a8 00 00 | 05 7c 00 00 06 92 7a 06 |........|.|....z.|
|00002580| 68 01 e3 ff 48 30 e3 ff | 20 22 00 00 8f 12 12 00 |h...H0..| "......|
|00002590| 7e 49 00 00 00 00 00 00 | 20 61 20 73 74 72 69 6e |~I......| a strin|
|000025a0| 67 2c 20 77 68 69 63 68 | 20 69 73 20 74 68 65 20 |g, which| is the |
|000025b0| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 6f 62 6a 65 |name of |the obje|
|000025c0| 63 74 20 74 6f 20 62 65 | 20 63 72 65 61 74 65 64 |ct to be| created|
|000025d0| 20 28 77 68 69 63 68 20 | 69 73 20 6e 6f 74 20 74 | (which |is not t|
|000025e0| 68 65 20 73 61 6d 65 20 | 61 73 20 74 68 65 20 00 |he same |as the .|
|000025f0| 00 7c 00 00 25 5c 00 00 | 42 9c 86 04 18 bb e2 ff |.|..%\..|B.......|
|00002600| f8 e9 e2 ff 20 22 00 00 | 69 64 65 6e 74 69 66 69 |.... "..|identifi|
|00002610| 65 72 2c 20 61 6c 74 68 | 6f 75 67 68 20 69 74 20 |er, alth|ough it |
|00002620| 69 73 20 75 73 75 61 6c | 6c 79 20 63 6c 65 61 72 |is usual|ly clear|
|00002630| 65 72 20 74 6f 20 75 73 | 65 20 74 68 65 20 73 61 |er to us|e the sa|
|00002640| 6d 65 20 6e 61 6d 65 29 | 0d 00 00 00 00 5c 00 00 |me name)|.....\..|
|00002650| 85 94 00 00 06 c6 ce 05 | c8 74 e2 ff a8 a3 e2 ff |........|.t......|
|00002660| 20 22 00 00 8f 12 65 29 | 7e 49 00 00 00 00 00 00 | "....e)|~I......|
|00002670| 61 20 6c 69 73 74 20 6f | 66 20 6e 75 6c 6c 20 65 |a list o|f null e|
|00002680| 78 70 72 65 73 73 69 6f | 6e 73 2c 20 65 61 63 68 |xpressio|ns, each|
|00002690| 20 65 6c 65 6d 65 6e 74 | 20 6f 66 20 77 68 69 63 | element| of whic|
|000026a0| 68 07 07 65 04 3e 00 00 | 04 3e 00 00 06 45 00 00 |h..e.>..|.>...E..|
|000026b0| 00 00 00 00 20 6d 75 73 | 74 08 66 20 04 3e 00 00 |.... mus|t.f .>..|
|000026c0| 06 45 00 00 00 00 00 00 | 20 62 65 20 61 20 73 69 |.E......| be a si|
|000026d0| 6e 67 6c 65 20 66 75 6e | 63 74 69 6f 6e 20 00 00 |ngle fun|ction ..|
|000026e0| 00 94 00 00 25 58 00 00 | 42 18 3b 04 78 2e e2 ff |....%X..|B.;.x...|
|000026f0| 58 5d e2 ff 20 22 00 00 | 64 65 63 6c 61 72 61 74 |X].. "..|declarat|
|00002700| 69 6f 6e 2e 20 20 41 20 | 77 61 72 6e 69 6e 67 20 |ion. A |warning |
|00002710| 69 73 20 70 72 6f 64 75 | 63 65 64 20 69 66 20 74 |is produ|ced if t|
|00002720| 68 69 73 20 69 73 20 6e | 6f 74 20 74 68 65 20 63 |his is n|ot the c|
|00002730| 61 73 65 2e 0d 00 00 00 | 00 58 00 00 85 a0 00 00 |ase.....|.X......|
|00002740| 06 9a ae 06 28 e8 e1 ff | 08 17 e2 ff 20 22 00 00 |....(...|.... "..|
|00002750| 8f 12 65 2e 7e 49 00 00 | 00 00 00 00 61 20 6c 69 |..e.~I..|....a li|
|00002760| 73 74 20 6f 66 20 6e 75 | 6c 6c 20 65 78 70 72 65 |st of nu|ll expre|
|00002770| 73 73 69 6f 6e 73 2c 20 | 65 61 63 68 20 65 6c 65 |ssions, |each ele|
|00002780| 6d 65 6e 74 20 6f 66 20 | 77 68 69 63 68 20 07 07 |ment of |which ..|
|00002790| 04 3f 00 00 04 3f 00 00 | 06 45 00 00 00 00 00 00 |.?...?..|.E......|
|000027a0| 6d 75 73 74 08 6f 66 20 | 04 3f 00 00 06 45 00 00 |must.of |.?...E..|
|000027b0| 00 00 00 00 20 62 65 20 | 61 20 73 65 74 20 6f 66 |.... be |a set of|
|000027c0| 20 6f 6e 65 20 6f 72 20 | 6d 6f 72 65 20 76 61 72 | one or |more var|
|000027d0| 69 61 62 6c 65 20 00 00 | 00 a0 00 00 a5 60 00 00 |iable ..|.....`..|
|000027e0| 42 10 07 04 d8 a1 e1 ff | b8 d0 e1 ff 20 22 00 00 |B.......|.... "..|
|000027f0| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 2e 20 20 41 |declarat|ions. A|
|00002800| 20 77 61 72 6e 69 6e 67 | 20 69 73 20 67 69 76 65 | warning| is give|
|00002810| 6e 20 69 66 20 74 68 69 | 73 20 69 73 20 6e 6f 74 |n if thi|s is not|
|00002820| 20 74 68 65 20 63 61 73 | 65 2e 08 08 06 45 00 00 | the cas|e....E..|
|00002830| 00 00 00 00 0d 00 00 00 | 00 60 00 00 25 1c 00 00 |........|.`..%...|
|00002840| 42 d8 03 00 88 5b e1 ff | 68 8a e1 ff 20 22 00 00 |B....[..|h... "..|
|00002850| 0d 00 00 00 00 1c 00 00 | a5 88 00 00 42 9c c0 03 |........|....B...|
|00002860| 38 15 e1 ff 18 44 e1 ff | 20 22 00 00 54 68 65 20 |8....D..| "..The |
|00002870| 66 75 6c 6c 20 63 6f 64 | 65 20 74 6f 20 63 72 65 |full cod|e to cre|
|00002880| 61 74 65 20 74 68 65 20 | 63 6c 61 73 73 20 07 07 |ate the |class ..|
|00002890| 03 40 00 00 03 40 00 00 | 00 00 00 00 70 65 72 73 |.@...@..|....pers|
|000028a0| 6f 6e 08 20 03 40 00 00 | 00 00 00 00 20 69 73 20 |on. .@..|.... is |
|000028b0| 74 68 65 72 65 66 6f 72 | 65 0d 07 07 0f 42 00 00 |therefor|e....B..|
|000028c0| 0f 42 00 00 00 00 00 00 | 07 00 00 00 16 4e 02 00 |.B......|.....N..|
|000028d0| 0f 42 00 00 16 4e 02 00 | 00 00 00 00 00 88 00 00 |.B...N..|........|
|000028e0| a5 40 00 00 42 80 32 02 | b8 d6 e0 ff c8 fd e0 ff |.@..B.2.|........|
|000028f0| 82 19 00 00 69 6e 73 74 | 61 6e 63 65 6f 66 20 08 |....inst|anceof .|
|00002900| 16 4e 02 00 0f 42 00 00 | 00 00 00 00 63 6c 61 73 |.N...B..|....clas|
|00002910| 73 20 70 65 72 73 6f 6e | 3b 0d 00 00 00 40 00 00 |s person|;....@..|
|00002920| a5 50 00 00 42 c0 d4 01 | d8 a7 e0 ff e8 ce e0 ff |.P..B...|........|
|00002930| 82 19 00 00 70 65 72 73 | 6f 6e 20 3a 3d 20 07 07 |....pers|on := ..|
|00002940| 16 51 02 00 0f 42 00 00 | 16 51 02 00 00 00 00 00 |.Q...B..|.Q......|
|00002950| 63 6c 61 73 73 2e 6e 65 | 77 08 20 3a 16 51 02 00 |class.ne|w. :.Q..|
|00002960| 0f 42 00 00 00 00 00 00 | 28 0d 00 00 00 50 00 00 |.B......|(....P..|
|00002970| 25 54 00 00 42 80 20 05 | f8 78 e0 ff 08 a0 e0 ff |%T..B. .|.x......|
|00002980| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00002990| 20 22 70 65 72 73 6f 6e | 22 2c 20 20 20 20 20 20 | "person|", |
|000029a0| 20 20 20 20 28 2a 20 6e | 61 6d 65 20 6f 66 20 6e | (* n|ame of n|
|000029b0| 65 77 20 6f 62 6a 65 63 | 74 20 2a 29 0d 00 00 00 |ew objec|t *)....|
|000029c0| 00 54 00 00 25 50 00 00 | 42 30 da 04 18 4a e0 ff |.T..%P..|B0...J..|
|000029d0| 28 71 e0 ff 82 19 00 00 | 20 20 20 20 20 20 20 20 |(q......| |
|000029e0| 20 20 20 20 20 5b 20 20 | 20 20 20 20 20 20 20 20 | [ | |
|000029f0| 20 20 20 20 20 20 20 20 | 28 2a 20 6c 69 73 74 20 | |(* list |
|00002a00| 6f 66 20 6d 65 74 68 6f | 64 73 20 2a 29 0d 00 00 |of metho|ds *)...|
|00002a10| 00 50 00 00 25 2c 00 00 | 42 70 8e 01 38 1b e0 ff |.P..%,..|Bp..8...|
|00002a20| 48 42 e0 ff 82 19 00 00 | 20 20 20 20 20 20 20 20 |HB......| |
|00002a30| 20 20 20 20 20 20 20 20 | 7b 0d 00 00 00 2c 00 00 | |{....,..|
|00002a40| 25 5c 00 00 42 e0 0a 06 | 58 ec df ff 68 13 e0 ff |%\..B...|X...h...|
|00002a50| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00002a60| 20 20 20 20 20 20 20 6e | 75 6c 6c 20 66 75 6e 63 | n|ull func|
|00002a70| 74 69 6f 6e 20 73 65 74 | 28 20 73 74 72 69 6e 67 |tion set|( string|
|00002a80| 20 70 6e 61 6d 65 3b 20 | 69 6e 74 65 67 65 72 20 | pname; |integer |
|00002a90| 70 61 67 65 20 29 0d 00 | 00 5c 00 00 25 30 00 00 |page )..|.\..%0..|
|00002aa0| 42 c0 d4 01 78 bd df ff | 88 e4 df ff 82 19 00 00 |B...x...|........|
|00002ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ac0| 20 20 20 7b 0d 00 00 00 | 00 30 00 00 25 54 00 00 | {....|.0..%T..|
|00002ad0| 42 80 20 05 98 8e df ff | a8 b5 df ff 82 19 00 00 |B. .....|........|
|00002ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002af0| 20 20 20 20 20 20 61 73 | 73 75 6d 65 20 69 6e 74 | as|sume int|
|00002b00| 65 67 65 72 20 61 67 65 | 3b 20 73 74 72 69 6e 67 |eger age|; string|
|00002b10| 20 6e 61 6d 65 20 69 6e | 0d 00 00 00 00 54 00 00 | name in|.....T..|
|00002b20| 25 54 00 00 42 60 4f 05 | b8 5f df ff c8 86 df ff |%T..B`O.|._......|
|00002b30| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00002b40| 20 20 20 20 20 20 20 20 | 20 20 7b 20 20 20 61 67 | | { ag|
|00002b50| 65 20 3a 3d 20 70 61 67 | 65 3b 20 20 6e 61 6d 65 |e := pag|e; name|
|00002b60| 20 3a 3d 20 70 6e 61 6d | 65 3b 20 20 7d 3b 0d 00 | := pnam|e; };..|
|00002b70| 00 54 00 00 25 30 00 00 | 42 30 ec 01 d8 30 df ff |.T..%0..|B0...0..|
|00002b80| e8 57 df ff 82 19 00 00 | 20 20 20 20 20 20 20 20 |.W......| |
|00002b90| 20 20 20 20 20 20 20 20 | 20 20 20 7d 3b 0d 00 00 | | };...|
|00002ba0| 00 30 00 00 25 2c 00 00 | 42 e0 a5 01 f8 01 df ff |.0..%,..|B.......|
|00002bb0| 08 29 df ff 82 19 00 00 | 20 20 20 20 20 20 20 20 |.)......| |
|00002bc0| 20 20 20 20 20 20 20 20 | 7d 2c 0d 00 00 2c 00 00 | |},...,..|
|00002bd0| 25 2c 00 00 42 70 8e 01 | 18 d3 de ff 28 fa de ff |%,..Bp..|....(...|
|00002be0| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00002bf0| 20 20 20 20 7b 0d 00 00 | 00 2c 00 00 25 40 00 00 | {...|.,..%@..|
|00002c00| 42 10 92 03 38 a4 de ff | 48 cb de ff 82 19 00 00 |B...8...|H.......|
|00002c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c20| 20 20 20 6e 75 6c 6c 20 | 66 75 6e 63 74 69 6f 6e | null |function|
|00002c30| 20 73 68 6f 77 28 29 0d | 00 40 00 00 25 30 00 00 | show().|.@..%0..|
|00002c40| 42 c0 d4 01 58 75 de ff | 68 9c de ff 82 19 00 00 |B...Xu..|h.......|
|00002c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c60| 20 20 20 7b 0d 00 00 00 | 00 30 00 00 25 54 00 00 | {....|.0..%T..|
|00002c70| 42 80 20 05 78 46 de ff | 88 6d de ff 82 19 00 00 |B. .xF..|.m......|
|00002c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c90| 20 20 20 20 20 20 61 73 | 73 75 6d 65 20 69 6e 74 | as|sume int|
|00002ca0| 65 67 65 72 20 61 67 65 | 3b 20 73 74 72 69 6e 67 |eger age|; string|
|00002cb0| 20 6e 61 6d 65 20 69 6e | 0d 00 00 00 00 54 00 00 | name in|.....T..|
|00002cc0| 25 58 00 00 42 90 c4 05 | 98 17 de ff a8 3e de ff |%X..B...|.....>..|
|00002cd0| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00002ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 77 72 69 | | wri|
|00002cf0| 74 65 28 6e 61 6d 65 2c | 22 20 69 73 20 22 2c 61 |te(name,|" is ",a|
|00002d00| 67 65 2c 22 20 79 65 61 | 72 73 20 6f 6c 64 5c 6e |ge," yea|rs old\n|
|00002d10| 22 29 3b 0d 00 58 00 00 | 25 30 00 00 42 30 ec 01 |");..X..|%0..B0..|
|00002d20| b8 e8 dd ff c8 0f de ff | 82 19 00 00 20 20 20 20 |........|.... |
|00002d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7d | | }|
|00002d40| 3b 0d 00 00 00 30 00 00 | 25 2c 00 00 42 70 8e 01 |;....0..|%,..Bp..|
|00002d50| d8 b9 dd ff e8 e0 dd ff | 82 19 00 00 20 20 20 20 |........|.... |
|00002d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 7d 0d 00 00 | | }...|
|00002d70| 00 2c 00 00 25 28 00 00 | 42 90 5f 01 f8 8a dd ff |.,..%(..|B._.....|
|00002d80| 08 b2 dd ff 82 19 00 00 | 20 20 20 20 20 20 20 20 |........| |
|00002d90| 20 20 20 20 20 5d 2c 0d | 00 28 00 00 25 4c 00 00 | ],.|.(..%L..|
|00002da0| 42 50 ab 04 18 5c dd ff | 28 83 dd ff 82 19 00 00 |BP...\..|(.......|
|00002db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 5b 20 20 | | [ |
|00002dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002dd0| 28 2a 20 6c 69 73 74 20 | 6f 66 20 73 6c 6f 74 73 |(* list |of slots|
|00002de0| 20 2a 29 0d 00 4c 00 00 | 25 2c 00 00 42 70 8e 01 | *)..L..|%,..Bp..|
|00002df0| 38 2d dd ff 48 54 dd ff | 82 19 00 00 20 20 20 20 |8-..HT..|.... |
|00002e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 7b 0d 00 00 | | {...|
|00002e10| 00 2c 00 00 25 38 00 00 | 42 90 d6 02 58 fe dc ff |.,..%8..|B...X...|
|00002e20| 68 25 dd ff 82 19 00 00 | 20 20 20 20 20 20 20 20 |h%......| |
|00002e30| 20 20 20 20 20 20 20 20 | 20 20 20 69 6e 74 65 67 | | integ|
|00002e40| 65 72 20 61 67 65 3b 0d | 00 38 00 00 25 38 00 00 |er age;.|.8..%8..|
|00002e50| 42 90 d6 02 78 cf dc ff | 88 f6 dc ff 82 19 00 00 |B...x...|........|
|00002e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e70| 20 20 20 73 74 72 69 6e | 67 20 6e 61 6d 65 3b 0d | strin|g name;.|
|00002e80| 00 38 00 00 25 2c 00 00 | 42 70 8e 01 98 a0 dc ff |.8..%,..|Bp......|
|00002e90| a8 c7 dc ff 82 19 00 00 | 20 20 20 20 20 20 20 20 |........| |
|00002ea0| 20 20 20 20 20 20 20 20 | 7d 0d 00 00 00 2c 00 00 | |}....,..|
|00002eb0| 25 28 00 00 42 20 48 01 | b8 71 dc ff c8 98 dc ff |%(..B H.|.q......|
|00002ec0| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00002ed0| 20 5d 0d 00 00 28 00 00 | a5 34 00 00 42 90 5f 01 | ]...(..|.4..B._.|
|00002ee0| d8 42 dc ff e8 69 dc ff | 82 19 00 00 20 20 20 20 |.B...i..|.... |
|00002ef0| 20 20 20 20 20 20 20 20 | 20 29 3b 0d 08 08 00 00 | | );.....|
|00002f00| 0f 42 00 00 00 00 00 00 | 00 34 00 00 25 1c 00 00 |.B......|.4..%...|
|00002f10| 42 d8 03 00 28 0c dc ff | 08 3b dc ff 20 22 00 00 |B...(...|.;.. "..|
|00002f20| 0d 00 00 00 00 1c 00 00 | a5 44 00 00 42 94 33 02 |........|.D..B.3.|
|00002f30| d8 c5 db ff b8 f4 db ff | 20 22 00 00 54 68 65 72 |........| "..Ther|
|00002f40| 65 20 61 72 65 20 61 20 | 66 65 77 20 70 6f 69 6e |e are a |few poin|
|00002f50| 74 73 20 74 6f 20 6e 6f | 74 65 0d 07 06 46 00 00 |ts to no|te...F..|
|00002f60| 06 46 00 00 00 00 00 00 | 00 44 00 00 25 1c 00 00 |.F......|.D..%...|
|00002f70| 42 d8 03 00 88 7f db ff | 68 ae db ff 20 22 00 00 |B.......|h... "..|
|00002f80| 0d 00 00 00 00 1c 00 00 | 85 e4 00 00 06 72 88 06 |........|.....r..|
|00002f90| 38 39 db ff 18 68 db ff | 20 22 00 00 8f 12 b0 fe |89...h..| "......|
|00002fa0| 7e 49 00 00 00 00 00 00 | 74 68 65 20 75 73 65 20 |~I......|the use |
|00002fb0| 6f 66 20 74 68 65 20 07 | 0e 43 00 00 0e 43 00 00 |of the .|.C...C..|
|00002fc0| 06 46 00 00 00 00 00 00 | 07 00 00 00 16 3d 02 00 |.F......|.....=..|
|00002fd0| 0e 43 00 00 06 46 00 00 | 16 3d 02 00 00 00 00 00 |.C...F..|.=......|
|00002fe0| 61 73 73 75 6d 65 08 00 | 0e 43 00 00 06 46 00 00 |assume..|.C...F..|
|00002ff0| 16 3d 02 00 00 00 00 00 | 20 08 00 00 16 3d 02 00 |.=......| ....=..|
|00003000| 06 46 00 00 00 00 00 00 | 63 6f 6d 6d 61 6e 64 20 |.F......|command |
|00003010| 74 6f 20 61 76 6f 69 64 | 20 61 20 07 16 3e 02 00 |to avoid| a ..>..|
|00003020| 06 46 00 00 16 3e 02 00 | 00 00 00 00 63 6f 6d 70 |.F...>..|....comp|
|00003030| 69 6c 65 20 74 69 6d 65 | 08 6f 69 64 16 3e 02 00 |ile time|.oid.>..|
|00003040| 06 46 00 00 00 00 00 00 | 20 65 72 72 6f 72 2c 20 |.F......| error, |
|00003050| 61 73 20 74 68 65 20 73 | 6c 6f 74 73 20 61 72 65 |as the s|lots are|
|00003060| 20 6f 6e 6c 79 20 00 00 | 00 e4 00 00 85 80 00 00 | only ..|........|
|00003070| 02 f4 14 06 e8 f2 da ff | c8 21 db ff 20 22 00 00 |........|.!.. "..|
|00003080| 61 64 64 65 64 20 61 74 | 20 72 75 6e 2d 74 69 6d |added at| run-tim|
|00003090| 65 2c 20 61 6e 64 20 75 | 6e 74 69 6c 20 74 68 65 |e, and u|ntil the|
|000030a0| 6e 20 74 68 65 69 72 20 | 65 78 69 73 74 65 6e 63 |n their |existenc|
|000030b0| 65 20 77 69 6c 6c 20 6e | 6f 74 20 62 65 20 61 63 |e will n|ot be ac|
|000030c0| 63 65 70 74 65 64 2e 20 | 20 54 68 65 20 74 79 70 |cepted. | The typ|
|000030d0| 65 73 20 6f 66 20 07 07 | 0e f6 00 00 06 46 00 00 |es of ..|.....F..|
|000030e0| 0e f6 00 00 00 00 00 00 | 00 80 00 00 85 78 00 00 |........|.....x..|
|000030f0| 02 08 0a 06 98 ac da ff | 78 db da ff 9c 1e 00 00 |........|x.......|
|00003100| 61 73 73 75 6d 65 08 08 | 0e f6 00 00 06 46 00 00 |assume..|.....F..|
|00003110| 00 00 00 00 64 20 76 61 | 72 69 61 62 6c 65 73 20 |....d va|riables |
|00003120| 61 72 65 20 6e 6f 74 20 | 63 68 65 63 6b 65 64 20 |are not |checked |
|00003130| 61 74 20 72 75 6e 2d 74 | 69 6d 65 2c 20 6d 65 61 |at run-t|ime, mea|
|00003140| 6e 69 6e 67 20 74 68 61 | 74 20 61 20 77 72 6f 6e |ning tha|t a wron|
|00003150| 67 6c 79 20 73 70 65 63 | 69 66 69 65 64 20 00 00 |gly spec|ified ..|
|00003160| 00 78 00 00 01 10 00 00 | 02 2c 3a 06 00 00 00 00 |.x......|.,:.....|
|00003170| 00 10 00 00 02 18 00 00 | c0 07 00 00 00 00 00 00 |........|........|
|00003180| 06 46 00 00 00 00 00 00 | 00 18 00 00 85 8c 00 00 |.F......|........|
|00003190| 02 2c 3a 06 57 05 d8 ff | 37 34 d8 ff 20 22 00 00 |.,:.W...|74.. "..|
|000031a0| 74 79 70 65 20 6f 72 20 | 61 20 6e 6f 6e 2d 65 78 |type or |a non-ex|
|000031b0| 69 73 74 65 6e 74 20 76 | 61 72 69 61 62 6c 65 20 |istent v|ariable |
|000031c0| 77 68 69 63 68 20 77 61 | 73 20 07 69 0e f7 00 00 |which wa|s .i....|
|000031d0| 06 46 00 00 0e f7 00 00 | 00 00 00 00 61 73 73 75 |.F......|....assu|
|000031e0| 6d 65 08 76 0e f7 00 00 | 06 46 00 00 00 00 00 00 |me.v....|.F......|
|000031f0| 64 20 77 69 6c 6c 20 70 | 72 6f 64 75 63 65 20 73 |d will p|roduce s|
|00003200| 74 72 61 6e 67 65 20 62 | 65 68 61 76 69 6f 75 72 |trange b|ehaviour|
|00003210| 2c 20 00 00 00 8c 00 00 | 25 3c 00 00 42 4c 7b 02 |, ......|%<..BL{.|
|00003220| 07 bf d7 ff e7 ed d7 ff | 20 22 00 00 6d 6f 73 74 |........| "..most|
|00003230| 20 6c 69 6b 65 6c 79 20 | 63 72 61 73 68 69 6e 67 | likely |crashing|
|00003240| 20 74 68 65 20 70 72 6f | 67 72 61 6d 2e 0d 00 00 | the pro|gram....|
|00003250| 00 3c 00 00 05 70 00 00 | 06 56 cc 05 b7 78 d7 ff |.<...p..|.V...x..|
|00003260| 97 a7 d7 ff 20 22 00 00 | 8f 12 ed fe 7e 49 00 00 |.... "..|....~I..|
|00003270| 00 00 00 00 74 68 65 20 | 6d 65 74 68 6f 64 73 20 |....the |methods |
|00003280| 61 6e 64 20 73 6c 6f 74 | 73 20 66 6f 6c 6c 6f 77 |and slot|s follow|
|00003290| 20 74 68 65 20 75 73 75 | 61 6c 20 73 79 6e 74 61 | the usu|al synta|
|000032a0| 63 74 69 63 20 66 6f 72 | 6d 20 6f 66 20 61 20 6c |ctic for|m of a l|
|000032b0| 69 73 74 20 6f 66 20 47 | 52 53 20 6e 75 6c 6c 20 |ist of G|RS null |
|000032c0| 00 70 00 00 25 24 00 00 | 42 90 de 00 67 32 d7 ff |.p..%$..|B...g2..|
|000032d0| 47 61 d7 ff 20 22 00 00 | 65 78 70 72 65 73 73 69 |Ga.. "..|expressi|
|000032e0| 6f 6e 73 0d 00 24 00 00 | a5 74 00 00 46 da a9 04 |ons..$..|.t..F...|
|000032f0| 17 ec d6 ff f7 1a d7 ff | 20 22 00 00 8f 12 ec fe |........| "......|
|00003300| 7e 49 00 00 00 00 00 00 | 74 68 65 20 73 6c 6f 74 |~I......|the slot|
|00003310| 73 20 63 6f 75 6c 64 20 | 65 71 75 61 6c 6c 79 20 |s could |equally |
|00003320| 68 61 76 65 20 62 65 65 | 6e 20 72 65 70 72 65 73 |have bee|n repres|
|00003330| 65 6e 74 65 64 20 75 73 | 69 6e 67 20 74 68 65 20 |ented us|ing the |
|00003340| 6c 69 73 74 0d 07 07 20 | 0f 44 00 00 0f 44 00 00 |list... |.D...D..|
|00003350| 06 46 00 00 00 00 00 00 | 00 74 00 00 a5 54 00 00 |.F......|.t...T..|
|00003360| 46 9e 7a 03 97 ad d6 ff | a7 d4 d6 ff 82 19 00 00 |F.z.....|........|
|00003370| 12 64 d2 fe be 5d 00 00 | 00 00 00 00 5b 20 7b 69 |.d...]..|....[ {i|
|00003380| 6e 74 65 67 65 72 20 61 | 67 65 3b 7d 2c 20 7b 73 |nteger a|ge;}, {s|
|00003390| 74 72 69 6e 67 20 6e 61 | 6d 65 3b 7d 20 5d 0d 08 |tring na|me;} ]..|
|000033a0| 0f 44 00 00 06 46 00 00 | 00 00 00 00 00 54 00 00 |.D...F..|.....T..|
|000033b0| a5 58 00 00 46 0e 2f 03 | e7 76 d6 ff c7 a5 d6 ff |.X..F./.|.v......|
|000033c0| 20 22 00 00 12 20 20 57 | e6 59 00 00 00 00 00 00 | "... W|.Y......|
|000033d0| 54 68 65 20 6f 72 64 65 | 72 20 6f 66 20 74 68 65 |The orde|r of the|
|000033e0| 20 73 6c 6f 74 73 20 69 | 73 20 6e 6f 74 20 69 6d | slots i|s not im|
|000033f0| 70 6f 72 74 61 6e 74 2e | 0d 08 69 6d 06 46 00 00 |portant.|..im.F..|
|00003400| 00 00 00 00 00 58 00 00 | 25 1c 00 00 42 d8 03 00 |.....X..|%...B...|
|00003410| 97 30 d6 ff 77 5f d6 ff | 20 22 00 00 0d 00 00 00 |.0..w_..| "......|
|00003420| 00 1c 00 00 85 ac 00 00 | 02 74 3c 07 47 ea d5 ff |........|.t<.G...|
|00003430| 27 19 d6 ff 20 22 00 00 | 54 68 65 6e 2c 20 74 6f |'... "..|Then, to|
|00003440| 20 63 72 65 61 74 65 20 | 69 6e 73 74 61 6e 63 65 | create |instance|
|00003450| 73 20 6f 66 20 74 68 65 | 20 63 6c 61 73 73 20 07 |s of the| class .|
|00003460| 03 47 00 00 03 47 00 00 | 00 00 00 00 70 65 72 73 |.G...G..|....pers|
|00003470| 6f 6e 08 61 03 47 00 00 | 00 00 00 00 2c 20 74 68 |on.a.G..|...., th|
|00003480| 65 20 6d 65 73 73 61 67 | 65 20 94 6e 65 77 95 20 |e messag|e .new. |
|00003490| 6d 75 73 74 20 62 65 20 | 73 65 6e 74 20 74 6f 20 |must be |sent to |
|000034a0| 74 68 65 20 6f 62 6a 65 | 63 74 20 07 03 48 00 00 |the obje|ct ..H..|
|000034b0| 03 48 00 00 00 00 00 00 | 70 65 72 73 6f 6e 08 61 |.H......|person.a|
|000034c0| 03 48 00 00 00 00 00 00 | 2c 20 00 00 00 ac 00 00 |.H......|, ......|
|000034d0| a5 3c 00 00 42 b0 25 00 | f7 a3 d5 ff d7 d2 d5 ff |.<..B.%.|........|
|000034e0| 20 22 00 00 69 65 0d 07 | 0f 4a 00 00 0f 4a 00 00 | "..ie..|.J...J..|
|000034f0| 00 00 00 00 07 00 00 00 | 16 4d 02 00 0f 4a 00 00 |........|.M...J..|
|00003500| 16 4d 02 00 00 00 00 00 | 00 3c 00 00 a5 40 00 00 |.M......|.<...@..|
|00003510| 42 10 1b 02 77 65 d5 ff | 87 8c d5 ff 82 19 00 00 |B...we..|........|
|00003520| 69 6e 73 74 61 6e 63 65 | 6f 66 08 46 16 4d 02 00 |instance|of.F.M..|
|00003530| 0f 4a 00 00 00 00 00 00 | 20 70 65 72 73 6f 6e 20 |.J......| person |
|00003540| 66 72 65 64 3b 0d 00 00 | 00 40 00 00 a5 3c 00 00 |fred;...|.@...<..|
|00003550| 42 f0 49 02 97 36 d5 ff | a7 5d d5 ff 82 19 00 00 |B.I..6..|.]......|
|00003560| 66 72 65 64 20 3a 3d 20 | 66 72 65 64 2e 6e 65 77 |fred := |fred.new|
|00003570| 28 22 66 72 65 64 22 29 | 3b 0d 08 70 0f 4a 00 00 |("fred")|;..p.J..|
|00003580| 00 00 00 00 00 3c 00 00 | 25 1c 00 00 42 d8 03 00 |.....<..|%...B...|
|00003590| e7 ff d4 ff c7 2e d5 ff | 20 22 00 00 0d 00 00 00 |........| "......|
|000035a0| 00 1c 00 00 a5 8c 00 00 | 42 3c 9c 06 97 b9 d4 ff |........|B<......|
|000035b0| 77 e8 d4 ff 20 22 00 00 | 57 68 65 6e 20 63 72 65 |w... "..|When cre|
|000035c0| 61 74 69 6e 67 20 07 69 | 16 40 02 00 16 40 02 00 |ating .i|.@...@..|
|000035d0| 00 00 00 00 69 6e 73 74 | 61 6e 63 65 73 20 6f 66 |....inst|ances of|
|000035e0| 20 6e 65 77 20 63 6c 61 | 73 73 65 73 08 25 02 00 | new cla|sses.%..|
|000035f0| 16 40 02 00 00 00 00 00 | 2c 20 74 68 65 20 6f 6e |.@......|, the on|
|00003600| 6c 79 20 70 61 72 61 6d | 65 74 65 72 20 69 73 20 |ly param|eter is |
|00003610| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|00003620| 6e 65 77 20 6f 62 6a 65 | 63 74 2e 0d 00 8c 00 00 |new obje|ct......|
|00003630| 25 1c 00 00 42 d8 03 00 | 47 73 d4 ff 27 a2 d4 ff |%...B...|Gs..'...|
|00003640| 20 22 00 00 0d 00 00 00 | 00 1c 00 00 a5 94 00 00 | "......|........|
|00003650| 42 ac 47 06 f7 2c d4 ff | d7 5b d4 ff 20 22 00 00 |B.G..,..|.[.. "..|
|00003660| 4e 6f 77 20 74 68 61 74 | 20 77 65 20 68 61 76 65 |Now that| we have|
|00003670| 20 61 6e 20 69 6e 73 74 | 61 6e 63 65 20 6f 66 20 | an inst|ance of |
|00003680| 07 af ea fe 03 4c 00 00 | 03 4c 00 00 00 00 00 00 |.....L..|.L......|
|00003690| 70 65 72 73 6f 6e 08 00 | 03 4c 00 00 00 00 00 00 |person..|.L......|
|000036a0| 2c 20 77 65 20 63 61 6e | 20 6d 61 6e 69 70 75 6c |, we can| manipul|
|000036b0| 61 74 65 20 74 68 65 20 | 6f 62 6a 65 63 74 2e 20 |ate the |object. |
|000036c0| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 0d 07 07 | For exa|mple,...|
|000036d0| 0f 4d 00 00 0f 4d 00 00 | 00 00 00 00 00 94 00 00 |.M...M..|........|
|000036e0| 25 30 00 00 42 c0 d4 01 | 77 ee d3 ff 87 15 d4 ff |%0..B...|w.......|
|000036f0| 82 19 00 00 66 72 65 64 | 2e 73 65 74 28 22 46 72 |....fred|.set("Fr|
|00003700| 65 64 22 2c 34 32 29 3b | 0d 00 00 00 00 30 00 00 |ed",42);|.....0..|
|00003710| a5 30 00 00 42 40 19 01 | 97 bf d3 ff a7 e6 d3 ff |.0..B@..|........|
|00003720| 82 19 00 00 66 72 65 64 | 2e 73 68 6f 77 28 29 3b |....fred|.show();|
|00003730| 0d 08 76 69 0f 4d 00 00 | 00 00 00 00 00 30 00 00 |..vi.M..|.....0..|
|00003740| 25 1c 00 00 42 d8 03 00 | e7 88 d3 ff c7 b7 d3 ff |%...B...|........|
|00003750| 20 22 00 00 0d 00 00 00 | 00 1c 00 00 a5 9c 00 00 | "......|........|
|00003760| 42 34 f3 05 97 42 d3 ff | 77 71 d3 ff 20 22 00 00 |B4...B..|wq.. "..|
|00003770| 77 6f 75 6c 64 20 70 72 | 6f 64 75 63 65 20 07 fe |would pr|oduce ..|
|00003780| 0e 4e 00 00 0e 4e 00 00 | 00 00 00 00 46 72 65 64 |.N...N..|....Fred|
|00003790| 20 69 73 20 34 32 20 79 | 65 61 72 73 20 6f 6c 64 | is 42 y|ears old|
|000037a0| 08 20 73 65 0e 4e 00 00 | 00 00 00 00 2e 20 20 43 |. se.N..|..... C|
|000037b0| 72 65 61 74 69 6e 67 20 | 6d 6f 72 65 20 70 65 6f |reating |more peo|
|000037c0| 70 6c 65 20 69 73 20 65 | 61 73 79 2c 20 73 61 79 |ple is e|asy, say|
|000037d0| 0d 07 07 00 0f 4f 00 00 | 0f 4f 00 00 00 00 00 00 |.....O..|.O......|
|000037e0| 07 73 08 00 16 4c 02 00 | 0f 4f 00 00 16 4c 02 00 |.s...L..|.O...L..|
|000037f0| 00 00 00 00 00 9c 00 00 | a5 40 00 00 42 a0 03 02 |........|.@..B...|
|00003800| 17 04 d3 ff 27 2b d3 ff | 82 19 00 00 69 6e 73 74 |....'+..|....inst|
|00003810| 61 6e 63 65 6f 66 08 61 | 16 4c 02 00 0f 4f 00 00 |anceof.a|.L...O..|
|00003820| 00 00 00 00 20 70 65 72 | 73 6f 6e 20 67 75 79 3b |.... per|son guy;|
|00003830| 0d 00 00 00 00 40 00 00 | a5 3c 00 00 42 f0 49 02 |.....@..|.<..B.I.|
|00003840| 37 d5 d2 ff 47 fc d2 ff | 82 19 00 00 67 75 79 20 |7...G...|....guy |
|00003850| 3a 3d 20 70 65 72 73 6f | 6e 2e 6e 65 77 28 22 67 |:= perso|n.new("g|
|00003860| 75 79 22 29 3b 0d 08 00 | 0f 4f 00 00 00 00 00 00 |uy");...|.O......|
|00003870| 00 3c 00 00 25 1c 00 00 | 42 d8 03 00 87 9e d2 ff |.<..%...|B.......|
|00003880| 67 cd d2 ff 20 22 00 00 | 0d 00 00 00 00 1c 00 00 |g... "..|........|
|00003890| a5 58 00 00 42 f0 ab 03 | 37 58 d2 ff 17 87 d2 ff |.X..B...|7X......|
|000038a0| 20 22 00 00 55 73 69 6e | 67 20 74 68 69 73 20 6e | "..Usin|g this n|
|000038b0| 65 77 20 6f 62 6a 65 63 | 74 20 66 6f 6c 6c 6f 77 |ew objec|t follow|
|000038c0| 73 20 74 68 65 20 73 61 | 6d 65 20 70 61 74 74 65 |s the sa|me patte|
|000038d0| 72 6e 2c 20 69 65 0d 07 | 0f 50 00 00 0f 50 00 00 |rn, ie..|.P...P..|
|000038e0| 00 00 00 00 00 58 00 00 | 25 2c 00 00 42 e0 a5 01 |.....X..|%,..B...|
|000038f0| b7 19 d2 ff c7 40 d2 ff | 82 19 00 00 67 75 79 2e |.....@..|....guy.|
|00003900| 73 65 74 28 22 47 75 79 | 22 2c 32 34 29 3b 0d 00 |set("Guy|",24);..|
|00003910| 00 2c 00 00 a5 30 00 00 | 42 d0 01 01 d7 ea d1 ff |.,...0..|B.......|
|00003920| e7 11 d2 ff 82 19 00 00 | 67 75 79 2e 73 68 6f 77 |........|guy.show|
|00003930| 28 29 3b 0d 08 1d 00 00 | 0f 50 00 00 00 00 00 00 |();.....|.P......|
|00003940| 00 30 00 00 25 1c 00 00 | 42 d8 03 00 27 b4 d1 ff |.0..%...|B...'...|
|00003950| 07 e3 d1 ff 20 22 00 00 | 0d 00 00 00 00 1c 00 00 |.... "..|........|
|00003960| a5 58 00 00 42 8c 49 03 | d7 6d d1 ff b7 9c d1 ff |.X..B.I.|.m......|
|00003970| 20 22 00 00 77 6f 75 6c | 64 20 70 72 6f 64 75 63 | "..woul|d produc|
|00003980| 65 20 07 74 0e 51 00 00 | 0e 51 00 00 00 00 00 00 |e .t.Q..|.Q......|
|00003990| 47 75 79 20 69 73 05 20 | 32 34 20 79 65 61 72 73 |Guy is. |24 years|
|000039a0| 20 6f 6c 64 08 51 00 00 | 0e 51 00 00 00 00 00 00 | old.Q..|.Q......|
|000039b0| 2e 0d 00 00 00 58 00 00 | 25 1c 00 00 42 d8 03 00 |.....X..|%...B...|
|000039c0| 87 27 d1 ff 67 56 d1 ff | 20 22 00 00 0d 00 00 00 |.'..gV..| "......|
|000039d0| 00 1c 00 00 85 b0 00 00 | 02 b0 ac 06 37 e1 d0 ff |........|....7...|
|000039e0| 17 10 d1 ff 20 22 00 00 | 4e 6f 74 69 63 65 20 74 |.... "..|Notice t|
|000039f0| 68 61 74 20 74 68 65 72 | 65 20 69 73 20 61 20 73 |hat ther|e is a s|
|00003a00| 68 6f 72 74 65 72 20 77 | 61 79 20 6f 66 20 63 72 |horter w|ay of cr|
|00003a10| 65 61 74 69 6e 67 20 61 | 6e 20 69 6e 73 74 61 6e |eating a|n instan|
|00003a20| 63 65 20 6f 66 20 61 20 | 6e 65 77 20 63 6c 61 73 |ce of a |new clas|
|00003a30| 73 2c 20 75 73 69 6e 67 | 20 74 68 65 20 07 20 65 |s, using| the . e|
|00003a40| 0e 52 00 00 0e 52 00 00 | 00 00 00 00 07 70 65 20 |.R...R..|.....pe |
|00003a50| 16 41 02 00 0e 52 00 00 | 16 41 02 00 00 00 00 00 |.A...R..|.A......|
|00003a60| 63 72 65 61 74 65 08 fe | 0e 52 00 00 16 41 02 00 |create..|.R...A..|
|00003a70| 00 00 00 00 20 08 65 79 | 16 41 02 00 00 00 00 00 |.... .ey|.A......|
|00003a80| 00 b0 00 00 a5 a0 00 00 | 42 88 d2 05 e7 9a d0 ff |........|B.......|
|00003a90| c7 c9 d0 ff 20 22 00 00 | 6b 65 79 77 6f 72 64 2e |.... "..|keyword.|
|00003aa0| 20 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 74 | For ex|ample, t|
|00003ab0| 68 65 20 6f 62 6a 65 63 | 74 20 07 f0 03 53 00 00 |he objec|t ...S..|
|00003ac0| 03 53 00 00 00 00 00 00 | 67 75 79 08 03 53 00 00 |.S......|guy..S..|
|00003ad0| 00 00 00 00 20 63 6f 75 | 6c 64 20 65 71 75 61 6c |.... cou|ld equal|
|00003ae0| 6c 79 20 68 61 76 65 20 | 62 65 65 6e 20 70 72 6f |ly have |been pro|
|00003af0| 64 75 63 65 64 20 75 73 | 69 6e 67 0d 07 07 00 f0 |duced us|ing.....|
|00003b00| 0f 54 00 00 0f 54 00 00 | 00 00 00 00 07 c8 4e 07 |.T...T..|......N.|
|00003b10| 16 4b 02 00 0f 54 00 00 | 16 4b 02 00 00 00 00 00 |.K...T..|.K......|
|00003b20| 00 a0 00 00 a5 44 00 00 | 42 e0 a5 01 67 5c d0 ff |.....D..|B...g\..|
|00003b30| 77 83 d0 ff 82 19 00 00 | 63 72 65 61 74 65 08 6d |w.......|create.m|
|00003b40| 16 4b 02 00 0f 54 00 00 | 00 00 00 00 20 70 65 72 |.K...T..|.... per|
|00003b50| 73 6f 6e 20 67 75 79 3b | 0d 08 6c 61 0f 54 00 00 |son guy;|..la.T..|
|00003b60| 00 00 00 00 00 44 00 00 | a5 3c 00 00 42 e4 2a 00 |.....D..|.<..B.*.|
|00003b70| b7 25 d0 ff 97 54 d0 ff | 20 22 00 00 6f 72 0d 07 |.%...T..| "..or..|
|00003b80| 0f 0a 01 00 0f 0a 01 00 | 00 00 00 00 07 22 00 00 |........|....."..|
|00003b90| 16 42 02 00 0f 0a 01 00 | 16 42 02 00 00 00 00 00 |.B......|.B......|
|00003ba0| 00 3c 00 00 a5 40 00 00 | 42 40 19 01 37 e7 cf ff |.<...@..|B@..7...|
|00003bb0| 47 0e d0 ff 82 19 00 00 | 23 08 65 2c 16 42 02 00 |G.......|#.e,.B..|
|00003bc0| 0f 0a 01 00 00 00 00 00 | 70 65 72 73 6f 6e 20 67 |........|person g|
|00003bd0| 75 79 3b 08 0f 0a 01 00 | 00 00 00 00 0d 00 00 00 |uy;.....|........|
|00003be0| 00 40 00 00 85 bc 00 00 | 02 4c 3d 07 17 99 cf ff |.@......|.L=.....|
|00003bf0| f7 c7 cf ff 20 22 00 00 | 77 68 69 63 68 20 69 73 |.... "..|which is|
|00003c00| 20 65 71 75 69 76 61 6c | 65 6e 74 20 74 6f 20 74 | equival|ent to t|
|00003c10| 68 65 20 63 6f 64 65 20 | 73 68 6f 77 6e 20 61 62 |he code |shown ab|
|00003c20| 6f 76 65 2e 20 20 54 68 | 65 20 07 f0 16 43 02 00 |ove. Th|e ...C..|
|00003c30| 16 43 02 00 00 00 00 00 | 07 65 3a 0d 0e 0b 01 00 |.C......|.e:.....|
|00003c40| 0e 0b 01 00 16 43 02 00 | 00 00 00 00 23 08 00 00 |.....C..|....#...|
|00003c50| 16 43 02 00 0e 0b 01 00 | 00 00 00 00 08 a3 e6 fe |.C......|........|
|00003c60| 0e 0b 01 00 00 00 00 00 | 20 66 6f 72 6d 20 69 73 |........| form is|
|00003c70| 20 71 75 69 63 6b 65 72 | 20 62 75 74 20 6c 65 73 | quicker| but les|
|00003c80| 73 20 63 6c 65 61 72 2c | 20 61 6e 64 20 69 73 20 |s clear,| and is |
|00003c90| 69 6e 74 65 6e 64 65 64 | 20 00 00 00 00 bc 00 00 |intended| .......|
|00003ca0| a5 40 00 00 42 10 c1 01 | c7 52 cf ff a7 81 cf ff |.@..B...|.R......|
|00003cb0| 20 22 00 00 6f 6e 6c 79 | 20 66 6f 72 20 69 6e 74 | "..only| for int|
|00003cc0| 65 72 61 63 74 69 76 65 | 20 75 73 65 2e 0d 07 72 |eractive| use...r|
|00003cd0| 02 3c 00 00 02 3c 00 00 | 00 00 00 00 00 40 00 00 |.<...<..|.....@..|
|00003ce0| a5 34 00 00 42 8c 01 00 | 07 f5 ce ff 57 3b cf ff |.4..B...|....W;..|
|00003cf0| 68 37 00 00 0d 08 e5 fe | 02 3c 00 00 00 00 00 00 |h7......|.<......|
|00003d00| 07 0d 08 08 08 f5 00 00 | 08 f5 00 00 00 00 00 00 |........|........|
|00003d10| 00 34 00 00 a5 5c 00 00 | 42 36 ff 02 47 b0 ce ff |.4...\..|B6..G...|
|00003d20| f7 e6 ce ff 18 2b 00 00 | 33 2e 36 20 20 4d 6f 72 |.....+..|3.6 Mor|
|00003d30| 65 20 6f 6e 20 07 74 68 | 16 44 02 00 08 f5 00 00 |e on .th|.D......|
|00003d40| 16 44 02 00 00 00 00 00 | 6d 65 74 68 6f 64 73 20 |.D......|methods |
|00003d50| 61 6e 64 20 73 6c 6f 74 | 73 08 74 72 16 44 02 00 |and slot|s.tr.D..|
|00003d60| 08 f5 00 00 00 00 00 00 | 0d 00 00 00 00 5c 00 00 |........|.....\..|
|00003d70| a5 24 00 00 42 34 01 00 | a7 6e ce ff 57 a5 ce ff |.$..B4..|.n..W...|
|00003d80| 18 2b 00 00 0d 08 1a 07 | 08 f5 00 00 00 00 00 00 |.+......|........|
|00003d90| 00 24 00 00 05 80 00 00 | 00 d4 57 07 d7 34 ce ff |.$......|..W..4..|
|00003da0| b7 63 ce ff 20 22 00 00 | 4f 6e 63 65 20 61 20 63 |.c.. "..|Once a c|
|00003db0| 6c 61 73 73 20 69 73 20 | 64 65 66 69 6e 65 64 2c |lass is |defined,|
|00003dc0| 20 70 61 73 73 69 6e 67 | 20 6d 65 73 73 61 67 65 | passing| message|
|00003dd0| 73 20 63 61 75 73 65 73 | 20 74 68 65 20 6d 65 74 |s causes| the met|
|00003de0| 68 6f 64 73 20 74 6f 20 | 62 65 20 65 78 65 63 75 |hods to |be execu|
|00003df0| 74 65 64 2e 20 20 46 6f | 72 20 74 68 65 20 6d 6f |ted. Fo|r the mo|
|00003e00| 73 74 20 70 61 72 74 2c | 20 74 68 65 20 00 00 00 |st part,| the ...|
|00003e10| 00 80 00 00 85 98 00 00 | 02 24 62 07 87 ee cd ff |........|.$b.....|
|00003e20| 67 1d ce ff 20 22 00 00 | 63 6f 64 65 20 62 65 68 |g... "..|code beh|
|00003e30| 61 76 65 73 20 65 78 61 | 63 74 6c 79 20 61 73 20 |aves exa|ctly as |
|00003e40| 61 6e 79 20 6f 74 68 65 | 72 20 70 69 65 63 65 20 |any othe|r piece |
|00003e50| 6f 66 20 47 52 53 20 63 | 6f 64 65 2c 20 61 6e 64 |of GRS c|ode, and|
|00003e60| 20 61 6c 6c 20 6f 66 20 | 74 68 65 20 6e 6f 72 6d | all of |the norm|
|00003e70| 61 6c 20 72 75 6c 65 73 | 20 6f 66 20 07 28 02 00 |al rules| of .(..|
|00003e80| 16 45 02 00 16 45 02 00 | 00 00 00 00 73 63 6f 70 |.E...E..|....scop|
|00003e90| 65 20 08 00 16 45 02 00 | 00 00 00 00 61 70 70 6c |e ...E..|....appl|
|00003ea0| 79 2c 20 62 75 74 20 00 | 00 98 00 00 25 30 00 00 |y, but .|....%0..|
|00003eb0| 42 24 89 01 37 a8 cd ff | 17 d7 cd ff 20 22 00 00 |B$..7...|.... "..|
|00003ec0| 77 69 74 68 20 74 77 6f | 20 65 78 63 65 70 74 69 |with two| excepti|
|00003ed0| 6f 6e 73 2e 0d 00 00 00 | 00 30 00 00 01 10 00 00 |ons.....|.0......|
|00003ee0| 42 d8 03 00 00 00 00 00 | 00 10 00 00 02 14 00 00 |B.......|........|
|00003ef0| a4 09 00 00 00 00 00 00 | 00 00 00 00 00 14 00 00 |........|........|
|00003f00| 25 1c 00 00 42 d8 03 00 | a6 05 cb ff 86 34 cb ff |%...B...|.....4..|
|00003f10| 20 22 00 f0 0d 00 00 00 | 00 1c 00 00 85 ac 00 00 | "......|........|
|00003f20| 02 60 2f 07 56 bf ca ff | 36 ee ca ff 20 22 00 f0 |.`/.V...|6... "..|
|00003f30| 57 68 65 6e 20 07 02 00 | 16 46 02 00 16 46 02 00 |When ...|.F...F..|
|00003f40| 00 00 00 00 65 78 65 63 | 75 74 69 6e 67 20 61 20 |....exec|uting a |
|00003f50| 6d 65 74 68 6f 64 08 61 | 16 46 02 00 00 00 00 00 |method.a|.F......|
|00003f60| 2c 20 61 6c 6c 20 69 64 | 65 6e 74 69 66 69 65 72 |, all id|entifier|
|00003f70| 73 20 61 72 65 20 63 68 | 65 63 6b 65 64 20 07 00 |s are ch|ecked ..|
|00003f80| 03 55 00 00 03 55 00 00 | 00 00 00 00 64 79 6e 61 |.U...U..|....dyna|
|00003f90| 6d 69 63 61 6c 6c 79 08 | 03 55 00 00 00 00 00 00 |mically.|.U......|
|00003fa0| 2c 20 74 68 61 74 20 69 | 73 2c 20 65 76 65 72 79 |, that i|s, every|
|00003fb0| 20 74 69 6d 65 20 61 20 | 76 61 72 69 61 62 6c 65 | time a |variable|
|00003fc0| 20 69 73 20 00 ac 00 00 | 05 78 00 00 00 64 e6 06 | is ....|.x...d..|
|00003fd0| 06 79 ca ff e6 a7 ca ff | 20 22 00 f0 65 6e 63 6f |.y......| "..enco|
|00003fe0| 75 6e 74 65 72 65 64 2c | 20 74 68 65 20 6f 62 6a |untered,| the obj|
|00003ff0| 65 63 74 20 73 74 6f 72 | 65 20 61 6e 64 20 61 74 |ect stor|e and at|
|00004000| 74 72 69 62 75 74 65 20 | 74 61 62 6c 65 73 20 61 |tribute |tables a|
|00004010| 72 65 20 73 65 61 72 63 | 68 65 64 20 74 6f 20 70 |re searc|hed to p|
|00004020| 72 6f 64 75 63 65 20 61 | 20 76 61 6c 75 65 2e 20 |roduce a| value. |
|00004030| 20 54 68 75 73 2c 20 77 | 68 65 6e 20 00 78 00 00 | Thus, w|hen .x..|
|00004040| 05 80 00 00 00 2c 03 07 | b6 32 ca ff 96 61 ca ff |.....,..|.2...a..|
|00004050| 20 22 00 f0 72 65 73 70 | 6f 6e 64 69 6e 67 20 74 | "..resp|onding t|
|00004060| 6f 20 61 20 6d 65 73 73 | 61 67 65 2c 20 74 68 65 |o a mess|age, the|
|00004070| 20 69 6e 74 65 72 70 72 | 65 74 65 72 20 66 69 72 | interpr|eter fir|
|00004080| 73 74 20 63 68 65 63 6b | 73 20 74 6f 20 73 65 65 |st check|s to see|
|00004090| 20 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 73 | if ther|e is a s|
|000040a0| 6c 6f 74 20 77 69 74 68 | 20 74 68 65 20 73 61 6d |lot with| the sam|
|000040b0| 65 20 6e 61 6d 65 2e 20 | 20 00 00 00 00 80 00 00 |e name. | .......|
|000040c0| 85 90 00 00 02 50 e5 06 | 66 ec c9 ff 46 1b ca ff |.....P..|f...F...|
|000040d0| 20 22 00 f0 53 6c 6f 74 | 73 20 61 72 65 20 07 65 | "..Slot|s are .e|
|000040e0| 04 59 00 00 04 59 00 00 | 00 00 00 00 61 6c 77 61 |.Y...Y..|....alwa|
|000040f0| 79 73 08 fe 04 59 00 00 | 00 00 00 00 20 73 65 61 |ys...Y..|.... sea|
|00004100| 72 63 68 65 64 20 66 69 | 72 73 74 20 77 69 74 68 |rched fi|rst with|
|00004110| 69 6e 20 61 20 6d 65 74 | 68 6f 64 2c 20 61 6e 64 |in a met|hod, and|
|00004120| 20 63 61 72 65 20 6d 75 | 73 74 20 62 65 20 74 61 | care mu|st be ta|
|00004130| 6b 65 6e 20 74 6f 20 61 | 76 6f 69 64 20 6e 61 6d |ken to a|void nam|
|00004140| 69 6e 67 20 6c 6f 63 61 | 6c 20 00 00 00 90 00 00 |ing loca|l ......|
|00004150| 05 80 00 00 00 14 3f 07 | 16 a6 c9 ff f6 d4 c9 ff |......?.|........|
|00004160| 20 22 00 f0 76 61 72 69 | 61 62 6c 65 73 20 77 68 | "..vari|ables wh|
|00004170| 69 63 68 20 73 68 61 72 | 65 20 74 68 65 20 73 61 |ich shar|e the sa|
|00004180| 6d 65 20 6e 61 6d 65 20 | 61 73 20 73 6c 6f 74 73 |me name |as slots|
|00004190| 2e 20 20 53 69 6d 69 6c | 61 72 6c 79 2c 20 61 6e |. Simil|arly, an|
|000041a0| 79 20 66 75 6e 63 74 69 | 6f 6e 20 63 61 6c 6c 73 |y functi|on calls|
|000041b0| 20 63 61 75 73 65 20 74 | 68 65 20 69 6e 74 65 72 | cause t|he inter|
|000041c0| 70 72 65 74 65 72 20 74 | 6f 20 00 00 00 80 00 00 |preter t|o ......|
|000041d0| 05 7c 00 00 00 9c 38 07 | c6 5f c9 ff a6 8e c9 ff |.|....8.|._......|
|000041e0| 20 22 00 f0 66 69 72 73 | 74 6c 79 20 73 65 61 72 | "..firs|tly sear|
|000041f0| 63 68 20 74 68 72 6f 75 | 67 68 20 74 68 65 20 6d |ch throu|gh the m|
|00004200| 65 74 68 6f 64 73 2c 20 | 61 6e 64 20 6f 6e 6c 79 |ethods, |and only|
|00004210| 20 69 66 20 6e 6f 6e 65 | 20 6f 66 20 74 68 65 73 | if none| of thes|
|00004220| 65 20 6d 61 74 63 68 2c | 20 74 68 65 6e 20 74 68 |e match,| then th|
|00004230| 65 20 6e 6f 72 6d 61 6c | 20 72 75 6c 65 73 20 6f |e normal| rules o|
|00004240| 66 20 73 63 6f 70 65 20 | 00 7c 00 00 25 20 00 00 |f scope |.|..% ..|
|00004250| 42 b8 77 00 76 19 c9 ff | 56 48 c9 ff 20 22 00 f0 |B.w.v...|VH.. "..|
|00004260| 61 70 70 6c 79 2e 0d 00 | 00 20 00 00 25 1c 00 00 |apply...|. ..%...|
|00004270| 42 d8 03 00 26 d3 c8 ff | 06 02 c9 ff 20 22 00 f0 |B...&...|.... "..|
|00004280| 0d 00 00 00 00 1c 00 00 | 05 7c 00 00 00 a4 00 07 |........|.|......|
|00004290| d6 8c c8 ff b6 bb c8 ff | 20 22 00 f0 4e 6f 74 65 |........| "..Note|
|000042a0| 20 74 68 61 74 20 77 68 | 65 6e 20 63 72 65 61 74 | that wh|en creat|
|000042b0| 69 6e 67 20 61 20 6e 65 | 77 20 63 6c 61 73 73 2c |ing a ne|w class,|
|000042c0| 20 74 68 65 20 6d 65 74 | 68 6f 64 73 20 64 6f 20 | the met|hods do |
|000042d0| 6e 6f 74 20 79 65 74 20 | 65 78 69 73 74 2e 20 20 |not yet |exist. |
|000042e0| 53 6f 2c 20 69 66 20 6d | 65 74 68 6f 64 73 20 72 |So, if m|ethods r|
|000042f0| 65 66 65 72 20 74 6f 20 | 6f 74 68 65 72 20 00 00 |efer to |other ..|
|00004300| 00 7c 00 00 a5 bc 00 00 | 42 88 bb 04 86 46 c8 ff |.|......|B....F..|
|00004310| 66 75 c8 ff 20 22 00 f0 | 6d 65 74 68 6f 64 73 20 |fu.. "..|methods |
|00004320| 69 6e 20 74 68 65 20 63 | 6c 61 73 73 2c 20 74 68 |in the c|lass, th|
|00004330| 65 69 72 20 65 78 69 73 | 74 65 6e 63 65 20 6d 75 |eir exis|tence mu|
|00004340| 73 74 20 62 65 20 07 00 | 16 47 02 00 16 47 02 00 |st be ..|.G...G..|
|00004350| 00 00 00 00 07 22 00 f0 | 0e 0c 01 00 0e 0c 01 00 |....."..|........|
|00004360| 16 47 02 00 00 00 00 00 | 61 73 73 75 6d 65 08 61 |.G......|assume.a|
|00004370| 16 47 02 00 0e 0c 01 00 | 00 00 00 00 08 6e 6f 74 |.G......|.....not|
|00004380| 0e 0c 01 00 00 00 00 00 | 64 20 66 6f 72 20 6e 6f |........|d for no|
|00004390| 77 2e 07 07 02 14 00 00 | 02 14 00 00 00 00 00 00 |w.......|........|
|000043a0| 0d 08 61 72 02 14 00 00 | 00 00 00 00 07 52 53 08 |..ar....|.....RS.|
|000043b0| 02 3b 00 00 02 3b 00 00 | 00 00 00 00 00 bc 00 00 |.;...;..|........|
|000043c0| a5 34 00 00 42 8c 01 00 | b6 da c7 ff 06 21 c8 ff |.4..B...|.....!..|
|000043d0| 68 37 00 f0 0d 08 20 6f | 02 3b 00 00 00 00 00 00 |h7.... o|.;......|
|000043e0| 07 a0 00 00 08 f6 00 00 | 08 f6 00 00 00 00 00 00 |........|........|
|000043f0| 00 34 00 00 25 34 00 00 | 42 fa 57 02 f6 95 c7 ff |.4..%4..|B.W.....|
|00004400| a6 cc c7 ff 18 2b 00 f0 | 33 2e 37 20 20 4f 62 6a |.....+..|3.7 Obj|
|00004410| 65 63 74 73 20 61 73 20 | 76 61 72 69 61 62 6c 65 |ects as |variable|
|00004420| 73 0d 00 00 00 34 00 00 | a5 24 00 00 42 34 01 00 |s....4..|.$..B4..|
|00004430| 56 54 c7 ff 06 8b c7 ff | 18 2b 00 f0 0d 08 00 00 |VT......|.+......|
|00004440| 08 f6 00 00 00 00 00 00 | 00 24 00 00 05 80 00 00 |........|.$......|
|00004450| 00 80 63 07 86 1a c7 ff | 66 49 c7 ff 20 22 00 f0 |..c.....|fI.. "..|
|00004460| 4f 62 6a 65 63 74 73 20 | 63 61 6e 20 62 65 20 61 |Objects |can be a|
|00004470| 73 73 69 67 6e 65 64 20 | 74 6f 20 6f 6e 65 20 61 |ssigned |to one a|
|00004480| 6e 6f 74 68 65 72 2c 20 | 61 6e 64 20 75 73 65 64 |nother, |and used|
|00004490| 20 61 73 20 70 61 72 61 | 6d 65 74 65 72 73 2e 20 | as para|meters. |
|000044a0| 20 53 6f 2c 20 74 6f 20 | 6d 61 6b 65 20 74 77 6f | So, to |make two|
|000044b0| 20 69 64 65 6e 74 69 66 | 69 65 72 73 20 69 6e 64 | identif|iers ind|
|000044c0| 69 63 61 74 65 20 00 00 | 00 80 00 00 a5 3c 00 00 |icate ..|.....<..|
|000044d0| 42 60 7d 01 36 d4 c6 ff | 16 03 c7 ff 20 22 00 f0 |B`}.6...|.... "..|
|000044e0| 74 68 65 20 73 61 6d 65 | 20 6f 62 6a 65 63 74 2c |the same| object,|
|000044f0| 20 75 73 65 0d 07 07 00 | 0f 0a 01 00 0f 0a 01 00 | use....|........|
|00004500| 00 00 00 00 00 3c 00 00 | 25 34 00 00 42 d0 78 02 |.....<..|%4..B.x.|
|00004510| b6 95 c6 ff c6 bc c6 ff | 82 19 00 f0 69 6e 73 74 |........|....inst|
|00004520| 61 6e 63 65 6f 66 20 73 | 6f 6d 65 63 6c 61 73 73 |anceof s|omeclass|
|00004530| 20 6f 31 2c 6f 32 3b 0d | 00 34 00 00 25 34 00 00 | o1,o2;.|.4..%4..|
|00004540| 42 60 61 02 d6 66 c6 ff | e6 8d c6 ff 82 19 00 f0 |B`a..f..|........|
|00004550| 6f 31 20 3a 3d 20 73 6f | 6d 65 63 6c 61 73 73 2e |o1 := so|meclass.|
|00004560| 6e 65 77 28 22 6f 31 22 | 29 3b 0d 00 00 34 00 00 |new("o1"|);...4..|
|00004570| 25 24 00 00 42 f0 d2 00 | f6 37 c6 ff 06 5f c6 ff |%$..B...|.7..._..|
|00004580| 82 19 00 f0 6f 32 20 3a | 3d 20 6f 31 3b 0d 00 00 |....o2 :|= o1;...|
|00004590| 00 24 00 00 a5 24 00 00 | 42 00 00 00 16 09 c6 ff |.$...$..|B.......|
|000045a0| 26 30 c6 ff 82 19 00 f0 | 0d 08 00 f0 0f 0a 01 00 |&0......|........|
|000045b0| 00 00 00 00 00 24 00 00 | 85 b0 00 00 02 1c 43 07 |.....$..|......C.|
|000045c0| 66 d2 c5 ff 46 01 c6 ff | 20 22 00 f0 4e 6f 74 69 |f...F...| "..Noti|
|000045d0| 63 65 20 74 68 61 74 20 | 74 68 69 73 20 64 6f 65 |ce that |this doe|
|000045e0| 73 20 07 fe 04 0b 01 00 | 04 0b 01 00 00 00 00 00 |s ......|........|
|000045f0| 6e 6f 74 08 04 0b 01 00 | 00 00 00 00 20 6d 61 6b |not.....|.... mak|
|00004600| 65 20 61 20 63 6f 70 79 | 20 6f 66 20 07 18 59 07 |e a copy| of ..Y.|
|00004610| 03 0c 01 00 03 0c 01 00 | 00 00 00 00 6f 31 08 00 |........|....o1..|
|00004620| 03 0c 01 00 00 00 00 00 | 2c 20 69 74 20 73 69 6d |........|, it sim|
|00004630| 70 6c 79 20 6d 65 61 6e | 73 20 74 68 61 74 20 62 |ply mean|s that b|
|00004640| 6f 74 68 20 6f 66 20 74 | 68 65 20 69 64 65 6e 74 |oth of t|he ident|
|00004650| 69 66 69 65 72 73 20 72 | 65 66 65 72 20 74 6f 20 |ifiers r|efer to |
|00004660| 74 68 65 20 00 b0 00 00 | a5 74 00 00 42 4c 72 05 |the ....|.t..BLr.|
|00004670| 16 8c c5 ff f6 ba c5 ff | 20 22 00 f0 73 61 6d 65 |........| "..same|
|00004680| 20 6f 62 6a 65 63 74 2e | 20 20 54 68 69 73 20 69 | object.| This i|
|00004690| 73 20 70 61 72 74 69 63 | 75 6c 61 72 6c 79 20 69 |s partic|ularly i|
|000046a0| 6d 70 6f 72 74 61 6e 74 | 20 77 68 65 6e 20 6f 62 |mportant| when ob|
|000046b0| 6a 65 63 74 73 20 61 72 | 65 20 75 73 65 64 20 61 |jects ar|e used a|
|000046c0| 73 20 73 6c 6f 74 73 2e | 0d 07 64 20 02 09 01 00 |s slots.|..d ....|
|000046d0| 02 09 01 00 00 00 00 00 | 00 74 00 00 a5 34 00 00 |........|.t...4..|
|000046e0| 42 8c 01 00 56 2e c5 ff | a6 74 c5 ff 68 37 00 f0 |B...V...|.t..h7..|
|000046f0| 0d 08 02 00 02 09 01 00 | 00 00 00 00 07 34 02 00 |........|.....4..|
|00004700| 08 f7 00 00 08 f7 00 00 | 00 00 00 00 00 34 00 00 |........|.....4..|
|00004710| a5 38 00 00 42 68 de 01 | 96 e9 c4 ff 46 20 c5 ff |.8..Bh..|....F ..|
|00004720| 18 2b 00 f0 33 2e 38 20 | 4f 62 6a 65 63 74 73 20 |.+..3.8 |Objects |
|00004730| 61 73 20 73 6c 6f 74 73 | 0d 08 70 65 08 f7 00 00 |as slots|..pe....|
|00004740| 00 00 00 00 00 38 00 00 | 25 1c 00 00 42 d8 03 00 |.....8..|%...B...|
|00004750| c6 af c4 ff a6 de c4 ff | 20 22 00 f0 0d 00 00 00 |........| "......|
|00004760| 00 1c 00 00 05 7c 00 00 | 00 88 04 07 76 69 c4 ff |.....|..|....vi..|
|00004770| 56 98 c4 ff 20 22 00 f0 | 4f 66 74 65 6e 20 61 6e |V... "..|Often an|
|00004780| 20 61 74 74 72 69 62 75 | 74 65 20 6f 66 20 61 20 | attribu|te of a |
|00004790| 63 6c 61 73 73 20 69 73 | 20 61 6e 6f 74 68 65 72 |class is| another|
|000047a0| 20 6f 62 6a 65 63 74 2e | 20 20 46 6f 72 20 65 78 | object.| For ex|
|000047b0| 61 6d 70 6c 65 2c 20 61 | 20 73 74 75 64 65 6e 74 |ample, a| student|
|000047c0| 20 77 69 6c 6c 20 62 65 | 20 73 74 75 64 79 69 6e | will be| studyin|
|000047d0| 67 20 61 20 63 6f 75 72 | 73 65 2c 20 00 7c 00 00 |g a cour|se, .|..|
|000047e0| a5 78 00 00 42 9c 1b 06 | 26 23 c4 ff 06 52 c4 ff |.x..B...|&#...R..|
|000047f0| 20 22 00 f0 77 68 69 63 | 68 20 69 74 73 65 6c 66 | "..whic|h itself|
|00004800| 20 63 6f 75 6c 64 20 62 | 65 20 61 20 63 6c 61 73 | could b|e a clas|
|00004810| 73 2e 20 20 54 68 65 72 | 65 20 61 72 65 20 74 77 |s. Ther|e are tw|
|00004820| 6f 20 6d 65 74 68 6f 64 | 73 20 6f 66 20 69 6d 70 |o method|s of imp|
|00004830| 6c 65 6d 65 6e 74 69 6e | 67 20 74 68 69 73 20 69 |lementin|g this i|
|00004840| 6e 20 47 52 53 3a 0d 07 | 06 10 01 00 06 10 01 00 |n GRS:..|........|
|00004850| 00 00 00 00 00 78 00 00 | 85 b8 00 00 06 62 6b 06 |.....x..|.....bk.|
|00004860| d6 dc c3 ff b6 0b c4 ff | 20 22 00 f0 8f 12 dd fe |........| "......|
|00004870| 7e 49 00 00 00 00 00 00 | 64 65 63 6c 61 72 65 20 |~I......|declare |
|00004880| 61 20 73 6c 6f 74 20 61 | 73 20 07 65 16 49 02 00 |a slot a|s .e.I..|
|00004890| 06 10 01 00 16 49 02 00 | 00 00 00 00 07 6f 75 6c |.....I..|.....oul|
|000048a0| 0e 0d 01 00 0e 0d 01 00 | 06 10 01 00 16 49 02 00 |........|.....I..|
|000048b0| 00 00 00 00 69 6e 73 74 | 61 6e 63 65 6f 66 08 75 |....inst|anceof.u|
|000048c0| 16 49 02 00 0e 0d 01 00 | 06 10 01 00 00 00 00 00 |.I......|........|
|000048d0| 20 63 6c 61 73 73 69 64 | 20 73 6c 6f 74 6e 61 6d | classid| slotnam|
|000048e0| 65 08 76 65 0e 0d 01 00 | 06 10 01 00 00 00 00 00 |e.ve....|........|
|000048f0| 2e 20 20 54 68 69 73 20 | 6d 65 61 6e 73 20 74 68 |. This |means th|
|00004900| 61 74 20 74 68 65 20 73 | 6c 6f 74 20 00 b8 00 00 |at the s|lot ....|
|00004910| 05 70 00 00 00 08 34 06 | 86 96 c3 ff 66 c5 c3 ff |.p....4.|....f...|
|00004920| 20 22 00 f0 63 61 6e 20 | 62 65 20 75 73 65 64 20 | "..can |be used |
|00004930| 69 6e 20 61 20 76 65 72 | 79 20 67 65 6e 65 72 61 |in a ver|y genera|
|00004940| 6c 20 77 61 79 2c 20 61 | 73 73 69 67 6e 65 64 20 |l way, a|ssigned |
|00004950| 74 6f 20 6e 65 77 20 6f | 62 6a 65 63 74 73 2c 20 |to new o|bjects, |
|00004960| 75 73 65 64 20 61 73 20 | 61 20 70 61 72 61 6d 65 |used as |a parame|
|00004970| 74 65 72 2c 20 61 6e 64 | 20 00 00 00 00 70 00 00 |ter, and| ....p..|
|00004980| 05 70 00 00 00 40 1a 06 | 36 50 c3 ff 16 7f c3 ff |.p...@..|6P......|
|00004990| 20 22 00 00 73 6f 20 6f | 6e 2e 20 20 49 74 20 64 | "..so o|n. It d|
|000049a0| 6f 65 73 20 68 6f 77 65 | 76 65 72 20 6d 65 61 6e |oes howe|ver mean|
|000049b0| 20 74 68 61 74 20 74 68 | 65 20 6f 62 6a 65 63 74 | that th|e object|
|000049c0| 20 77 69 6c 6c 20 68 61 | 76 65 20 74 6f 20 62 65 | will ha|ve to be|
|000049d0| 20 69 6e 69 74 69 61 6c | 69 73 65 64 20 69 6e 20 | initial|ised in |
|000049e0| 6f 6e 65 20 6f 66 20 74 | 68 65 20 00 00 70 00 00 |one of t|he ..p..|
|000049f0| 25 2c 00 00 42 1c 37 01 | e6 09 c3 ff c6 38 c3 ff |%,..B.7.|.....8..|
|00004a00| 20 22 00 00 63 6c 61 73 | 73 91 73 20 6d 65 74 68 | "..clas|s.s meth|
|00004a10| 6f 64 73 2e 0d 00 00 00 | 00 2c 00 00 85 c0 00 00 |ods.....|.,......|
|00004a20| 06 7e 9d 06 96 c3 c2 ff | 76 f2 c2 ff 20 22 00 00 |.~......|v... "..|
|00004a30| 8f 12 6c 69 7e 49 00 00 | 00 00 00 00 64 65 63 6c |..li~I..|....decl|
|00004a40| 61 72 65 20 61 20 73 6c | 6f 74 20 61 73 20 07 6e |are a sl|ot as .n|
|00004a50| 16 4a 02 00 06 10 01 00 | 16 4a 02 00 00 00 00 00 |.J......|.J......|
|00004a60| 07 74 6f 20 0e 0e 01 00 | 0e 0e 01 00 06 10 01 00 |.to ....|........|
|00004a70| 16 4a 02 00 00 00 00 00 | 63 72 65 61 74 65 08 75 |.J......|create.u|
|00004a80| 16 4a 02 00 0e 0e 01 00 | 06 10 01 00 00 00 00 00 |.J......|........|
|00004a90| 20 63 6c 61 73 73 69 64 | 20 73 6c 6f 74 6e 61 6d | classid| slotnam|
|00004aa0| 65 08 00 00 0e 0e 01 00 | 06 10 01 00 00 00 00 00 |e.......|........|
|00004ab0| 2e 20 20 49 6e 20 74 68 | 69 73 20 63 61 73 65 20 |. In th|is case |
|00004ac0| 74 68 65 20 6f 62 6a 65 | 63 74 20 69 73 20 63 72 |the obje|ct is cr|
|00004ad0| 65 61 74 65 64 2c 20 00 | 00 c0 00 00 a5 70 00 00 |eated, .|.....p..|
|00004ae0| 42 dc 28 04 46 7d c2 ff | 26 ac c2 ff 20 22 00 00 |B.(.F}..|&... "..|
|00004af0| 77 69 74 68 6f 75 74 20 | 74 68 65 20 6e 65 65 64 |without |the need|
|00004b00| 20 74 6f 20 73 65 6e 64 | 20 74 68 65 20 6d 65 73 | to send| the mes|
|00004b10| 73 61 67 65 20 94 6e 65 | 77 95 20 74 6f 20 74 68 |sage .ne|w. to th|
|00004b20| 65 20 63 6c 61 73 73 2e | 08 6b 07 00 06 10 01 00 |e class.|.k......|
|00004b30| 00 00 00 00 07 20 68 65 | 02 3b 00 00 02 3b 00 00 |..... he|.;...;..|
|00004b40| 00 00 00 00 0d 00 00 00 | 00 70 00 00 a5 34 00 00 |........|.p...4..|
|00004b50| 42 8c 01 00 76 11 c2 ff | c6 57 c2 ff 68 37 00 00 |B...v...|.W..h7..|
|00004b60| 0d 08 63 68 02 3b 00 00 | 00 00 00 00 07 74 69 63 |..ch.;..|.....tic|
|00004b70| 08 f8 00 00 08 f8 00 00 | 00 00 00 00 00 34 00 00 |........|.....4..|
|00004b80| 25 1c 00 00 42 34 01 00 | b6 cc c1 ff 66 03 c2 ff |%...B4..|....f...|
|00004b90| 18 2b 00 00 0d 00 00 00 | 00 1c 00 00 25 28 00 00 |.+......|....%(..|
|00004ba0| 42 94 55 01 16 8b c1 ff | c6 c1 c1 ff 18 2b 00 00 |B.U.....|.....+..|
|00004bb0| 33 2e 39 20 20 53 75 6d | 6d 61 72 79 0d 00 00 00 |3.9 Sum|mary....|
|00004bc0| 00 28 00 00 a5 24 00 00 | 42 34 01 00 76 49 c1 ff |.(...$..|B4..vI..|
|00004bd0| 26 80 c1 ff 18 2b 00 00 | 0d 08 20 74 08 f8 00 00 |&....+..|.. t....|
|00004be0| 00 00 00 00 00 24 00 00 | a5 50 00 00 42 b8 94 01 |.....$..|.P..B...|
|00004bf0| a6 0f c1 ff 86 3e c1 ff | 20 22 00 00 54 6f 20 63 |.....>..| "..To c|
|00004c00| 72 65 61 74 65 20 61 20 | 6e 65 77 20 63 6c 61 73 |reate a |new clas|
|00004c10| 73 0d 07 72 0f 5a 00 00 | 0f 5a 00 00 00 00 00 00 |s..r.Z..|.Z......|
|00004c20| 07 90 41 07 16 52 02 00 | 0f 5a 00 00 16 52 02 00 |..A..R..|.Z...R..|
|00004c30| 00 00 00 00 00 50 00 00 | a5 40 00 00 42 60 61 02 |.....P..|.@..B`a.|
|00004c40| 26 d1 c0 ff 36 f8 c0 ff | 82 19 00 00 69 6e 73 74 |&...6...|....inst|
|00004c50| 61 6e 63 65 6f 66 20 08 | 16 52 02 00 0f 5a 00 00 |anceof .|.R...Z..|
|00004c60| 00 00 00 00 63 6c 61 73 | 73 20 6e 65 77 63 6c 61 |....clas|s newcla|
|00004c70| 73 73 3b 0d 00 40 00 00 | a5 54 00 00 42 a0 03 02 |ss;..@..|.T..B...|
|00004c80| 46 a2 c0 ff 56 c9 c0 ff | 82 19 00 00 6e 65 77 63 |F...V...|....newc|
|00004c90| 6c 61 73 73 20 3a 3d 20 | 07 6f 72 20 16 53 02 00 |lass := |.or .S..|
|00004ca0| 0f 5a 00 00 16 53 02 00 | 00 00 00 00 63 6c 61 73 |.Z...S..|....clas|
|00004cb0| 73 2e 6e 65 77 08 00 f0 | 16 53 02 00 0f 5a 00 00 |s.new...|.S...Z..|
|00004cc0| 00 00 00 00 28 0d 00 00 | 00 54 00 00 25 38 00 00 |....(...|.T..%8..|
|00004cd0| 42 20 bf 02 66 73 c0 ff | 76 9a c0 ff 82 19 00 00 |B ..fs..|v.......|
|00004ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 22 | | "|
|00004cf0| 6e 65 77 63 6c 61 73 73 | 6e 61 6d 65 22 2c 0d 00 |newclass|name",..|
|00004d00| 00 38 00 00 01 10 00 00 | 42 e0 1c 03 00 00 00 00 |.8......|B.......|
|00004d10| 00 10 00 00 02 18 00 00 | 88 0b 00 00 00 00 00 00 |........|........|
|00004d20| 0f 5a 00 00 00 00 00 00 | 00 18 00 00 25 3c 00 00 |.Z......|....%<..|
|00004d30| 42 e0 1c 03 c5 0d be ff | d5 34 be ff 82 19 00 00 |B.......|.4......|
|00004d40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5b | | [|
|00004d50| 20 6c 69 73 74 6f 66 20 | 6d 65 74 68 6f 64 73 20 | listof |methods |
|00004d60| 5d 2c 0d 00 00 3c 00 00 | 25 38 00 00 42 90 d6 02 |],...<..|%8..B...|
|00004d70| e5 de bd ff f5 05 be ff | 82 19 00 00 20 20 20 20 |........|.... |
|00004d80| 20 20 20 20 20 20 20 20 | 20 20 20 5b 20 6c 69 73 | | [ lis|
|00004d90| 74 6f 66 20 73 6c 6f 74 | 73 20 5d 0d 00 38 00 00 |tof slot|s ]..8..|
|00004da0| a5 34 00 00 42 70 8e 01 | 05 b0 bd ff 15 d7 bd ff |.4..Bp..|........|
|00004db0| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00004dc0| 20 20 20 29 3b 0d 08 77 | 0f 5a 00 00 00 00 00 00 | );..w|.Z......|
|00004dd0| 00 34 00 00 25 1c 00 00 | 42 d8 03 00 55 79 bd ff |.4..%...|B...Uy..|
|00004de0| 35 a8 bd ff 20 22 00 00 | 0d 00 00 00 00 1c 00 00 |5... "..|........|
|00004df0| 85 94 00 00 02 64 37 07 | 05 33 bd ff e5 61 bd ff |.....d7.|.3...a..|
|00004e00| 20 22 00 00 54 68 65 20 | 6d 65 74 68 6f 64 73 20 | "..The |methods |
|00004e10| 6d 75 73 74 20 62 65 20 | 73 69 6e 67 6c 65 20 66 |must be |single f|
|00004e20| 75 6e 63 74 69 6f 6e 20 | 64 65 63 6c 61 72 61 74 |unction |declarat|
|00004e30| 69 6f 6e 73 20 69 6e 20 | 74 68 65 20 66 6f 72 6d |ions in |the form|
|00004e40| 20 6f 66 20 61 20 07 fe | 16 55 02 00 16 55 02 00 | of a ..|.U...U..|
|00004e50| 00 00 00 00 6e 75 6c 6c | 20 65 78 70 72 65 73 73 |....null| express|
|00004e60| 69 6f 6e 08 16 55 02 00 | 00 00 00 00 2c 20 74 68 |ion..U..|...., th|
|00004e70| 65 20 73 6c 6f 74 73 20 | 63 61 6e 20 62 65 20 00 |e slots |can be .|
|00004e80| 00 94 00 00 85 98 00 00 | 02 d8 2c 07 b5 ec bc ff |........|..,.....|
|00004e90| 95 1b bd ff 20 22 00 00 | 61 6e 79 20 6e 75 6d 62 |.... "..|any numb|
|00004ea0| 65 72 20 6f 66 20 76 61 | 72 69 61 62 6c 65 20 64 |er of va|riable d|
|00004eb0| 65 63 6c 61 72 61 74 69 | 6f 6e 73 2c 20 61 67 61 |eclarati|ons, aga|
|00004ec0| 69 6e 20 69 6e 20 74 68 | 65 20 66 6f 72 6d 20 6f |in in th|e form o|
|00004ed0| 66 20 61 20 07 20 6f 72 | 16 54 02 00 16 54 02 00 |f a . or|.T...T..|
|00004ee0| 00 00 00 00 6e 75 6c 6c | 20 65 78 70 72 65 73 73 |....null| express|
|00004ef0| 69 6f 6e 08 16 54 02 00 | 00 00 00 00 2e 20 20 41 |ion..T..|..... A|
|00004f00| 20 77 61 72 6e 69 6e 67 | 20 69 73 20 67 69 76 65 | warning| is give|
|00004f10| 6e 20 69 66 20 00 00 00 | 00 98 00 00 85 8c 00 00 |n if ...|........|
|00004f20| 02 cc 2c 07 65 a6 bc ff | 45 d5 bc ff 20 22 00 00 |..,.e...|E... "..|
|00004f30| 61 6e 79 20 6f 66 20 74 | 68 65 20 65 6c 65 6d 65 |any of t|he eleme|
|00004f40| 6e 74 73 20 61 72 65 20 | 6e 6f 74 20 6f 66 20 74 |nts are |not of t|
|00004f50| 68 65 20 63 6f 72 72 65 | 63 74 20 66 6f 72 6d 2e |he corre|ct form.|
|00004f60| 20 20 41 6c 6c 20 72 65 | 66 65 72 65 6e 63 65 73 | All re|ferences|
|00004f70| 20 74 6f 20 73 6c 6f 74 | 73 20 61 6e 64 20 6f 74 | to slot|s and ot|
|00004f80| 68 65 72 20 6d 65 74 68 | 6f 64 73 20 6d 75 73 74 |her meth|ods must|
|00004f90| 20 62 65 20 07 c7 d8 fe | 0e 5e 00 00 0e 5e 00 00 | be ....|.^...^..|
|00004fa0| 00 00 00 00 00 8c 00 00 | a5 2c 00 00 42 e8 cb 00 |........|.,..B...|
|00004fb0| 15 60 bc ff f5 8e bc ff | 9c 1e 00 00 61 73 73 75 |.`......|....assu|
|00004fc0| 6d 65 08 20 0e 5e 00 00 | 00 00 00 00 64 2e 0d 00 |me. .^..|....d...|
|00004fd0| 00 2c 00 00 25 1c 00 00 | 42 d8 03 00 c5 19 bc ff |.,..%...|B.......|
|00004fe0| a5 48 bc ff 20 22 00 00 | 0d 00 00 00 00 1c 00 00 |.H.. "..|........|
|00004ff0| a5 64 00 00 42 b8 ed 02 | 75 d3 bb ff 55 02 bc ff |.d..B...|u...U...|
|00005000| 20 22 00 00 54 6f 20 63 | 72 65 61 74 65 20 69 6e | "..To c|reate in|
|00005010| 73 74 61 6e 63 65 73 20 | 6f 66 20 74 68 65 20 6e |stances |of the n|
|00005020| 65 77 20 63 6c 61 73 73 | 20 75 73 65 0d 07 00 00 |ew class| use....|
|00005030| 0f 5b 00 00 0f 5b 00 00 | 00 00 00 00 07 6e 08 07 |.[...[..|.....n..|
|00005040| 16 56 02 00 0f 5b 00 00 | 16 56 02 00 00 00 00 00 |.V...[..|.V......|
|00005050| 00 64 00 00 a5 44 00 00 | 42 b0 a7 02 f5 94 bb ff |.d...D..|B.......|
|00005060| 05 bc bb ff 82 19 00 00 | 69 6e 73 74 61 6e 63 65 |........|instance|
|00005070| 6f 66 20 08 16 56 02 00 | 0f 5b 00 00 00 00 00 00 |of ..V..|.[......|
|00005080| 6e 65 77 63 6c 61 73 73 | 20 69 6e 73 74 61 6e 63 |newclass| instanc|
|00005090| 65 3b 0d 00 00 44 00 00 | a5 4c 00 00 42 f0 c0 03 |e;...D..|.L..B...|
|000050a0| 15 66 bb ff 25 8d bb ff | 82 19 00 00 69 6e 73 74 |.f..%...|....inst|
|000050b0| 61 6e 63 65 20 3a 3d 20 | 6e 65 77 63 6c 61 73 73 |ance := |newclass|
|000050c0| 2e 6e 65 77 28 22 69 6e | 73 74 61 6e 63 65 6e 61 |.new("in|stancena|
|000050d0| 6d 65 22 29 3b 0d 08 73 | 0f 5b 00 00 00 00 00 00 |me");..s|.[......|
|000050e0| 00 4c 00 00 a5 3c 00 00 | 42 e4 2a 00 65 2f bb ff |.L...<..|B.*.e/..|
|000050f0| 45 5e bb ff 20 22 00 00 | 6f 72 0d 07 0f 5c 00 00 |E^.. "..|or...\..|
|00005100| 0f 5c 00 00 00 00 00 00 | 07 c5 d7 fe 16 57 02 00 |.\......|.....W..|
|00005110| 0f 5c 00 00 16 57 02 00 | 00 00 00 00 00 3c 00 00 |.\...W..|.....<..|
|00005120| a5 4c 00 00 42 60 61 02 | e5 f0 ba ff f5 17 bb ff |.L..B`a.|........|
|00005130| 82 19 00 00 63 72 65 61 | 74 65 20 08 16 57 02 00 |....crea|te ..W..|
|00005140| 0f 5c 00 00 00 00 00 00 | 6e 65 77 63 6c 61 73 73 |.\......|newclass|
|00005150| 20 69 6e 73 74 61 6e 63 | 65 32 3b 0d 08 35 00 00 | instanc|e2;..5..|
|00005160| 0f 5c 00 00 00 00 00 00 | 00 4c 00 00 25 1c 00 00 |.\......|.L..%...|
|00005170| 42 d8 03 00 35 ba ba ff | 15 e9 ba ff 20 22 00 00 |B...5...|.... "..|
|00005180| 0d 00 00 00 00 1c 00 00 | a5 50 00 00 42 94 a0 01 |........|.P..B...|
|00005190| e5 73 ba ff c5 a2 ba ff | 20 22 00 00 77 68 69 63 |.s......| "..whic|
|000051a0| 68 20 69 73 20 65 71 75 | 69 76 61 6c 65 6e 74 20 |h is equ|ivalent |
|000051b0| 74 6f 0d 07 0f 5d 00 00 | 0f 5d 00 00 00 00 00 00 |to...]..|.]......|
|000051c0| 07 ae d7 fe 16 58 02 00 | 0f 5d 00 00 16 58 02 00 |.....X..|.]...X..|
|000051d0| 00 00 00 00 00 50 00 00 | a5 44 00 00 42 20 bf 02 |.....P..|.D..B ..|
|000051e0| 65 35 ba ff 75 5c ba ff | 82 19 00 00 69 6e 73 74 |e5..u\..|....inst|
|000051f0| 61 6e 63 65 6f 66 20 08 | 16 58 02 00 0f 5d 00 00 |anceof .|.X...]..|
|00005200| 00 00 00 00 6e 65 77 63 | 6c 61 73 73 20 69 6e 73 |....newc|lass ins|
|00005210| 74 61 6e 63 65 32 3b 0d | 00 44 00 00 a5 4c 00 00 |tance2;.|.D...L..|
|00005220| 42 10 92 03 85 06 ba ff | 95 2d ba ff 82 19 00 00 |B.......|.-......|
|00005230| 69 6e 73 74 61 6e 63 65 | 32 20 3a 3d 20 6e 65 77 |instance|2 := new|
|00005240| 63 6c 61 73 73 2e 6e 65 | 77 28 22 69 6e 73 74 61 |class.ne|w("insta|
|00005250| 6e 63 65 32 22 29 3b 0d | 08 39 d7 fe 0f 5d 00 00 |nce2");.|.9...]..|
|00005260| 00 00 00 00 00 4c 00 00 | 25 1c 00 00 42 d8 03 00 |.....L..|%...B...|
|00005270| d5 cf b9 ff b5 fe b9 ff | 20 22 00 00 0d 00 00 00 |........| "......|
|00005280| 00 1c 00 00 85 c4 00 00 | 02 14 54 07 85 89 b9 ff |........|..T.....|
|00005290| 65 b8 b9 ff 20 22 00 00 | 4e 6f 77 20 07 22 00 f0 |e... "..|Now ."..|
|000052a0| 0e 5f 00 00 0e 5f 00 00 | 00 00 00 00 69 6e 73 74 |._..._..|....inst|
|000052b0| 61 6e 63 65 08 8c 00 00 | 0e 5f 00 00 00 00 00 00 |ance....|._......|
|000052c0| 20 61 6e 64 20 07 00 f0 | 0e 60 00 00 0e 60 00 00 | and ...|.`...`..|
|000052d0| 00 00 00 00 69 6e 73 74 | 61 6e 63 65 32 08 61 6e |....inst|ance2.an|
|000052e0| 0e 60 00 00 00 00 00 00 | 20 63 61 6e 20 72 65 73 |.`......| can res|
|000052f0| 70 6f 6e 64 20 74 6f 20 | 74 68 65 20 6d 65 73 73 |pond to |the mess|
|00005300| 61 67 65 73 20 64 65 66 | 69 6e 65 64 20 77 69 74 |ages def|ined wit|
|00005310| 68 69 6e 20 07 65 20 61 | 0e 61 00 00 0e 61 00 00 |hin .e a|.a...a..|
|00005320| 00 00 00 00 6e 65 77 63 | 6c 61 73 73 08 6f 72 20 |....newc|lass.or |
|00005330| 0e 61 00 00 00 00 00 00 | 2c 20 74 68 61 74 20 69 |.a......|, that i|
|00005340| 73 20 00 00 00 c4 00 00 | a5 8c 00 00 42 b0 9a 03 |s ......|....B...|
|00005350| 35 43 b9 ff 15 72 b9 ff | 20 22 00 00 74 68 65 79 |5C...r..| "..they|
|00005360| 20 73 68 61 72 65 20 74 | 68 65 20 70 72 6f 70 65 | share t|he prope|
|00005370| 72 74 69 65 73 20 64 65 | 66 69 6e 65 64 20 62 79 |rties de|fined by|
|00005380| 20 07 73 73 0e 62 00 00 | 0e 62 00 00 00 00 00 00 | .ss.b..|.b......|
|00005390| 6e 65 77 63 6c 61 73 73 | 08 08 07 69 0e 62 00 00 |newclass|...i.b..|
|000053a0| 00 00 00 00 2e 07 74 68 | 02 3b 00 00 02 3b 00 00 |......th|.;...;..|
|000053b0| 00 00 00 00 0d 08 00 00 | 02 3b 00 00 00 00 00 00 |........|.;......|
|000053c0| 07 65 20 69 02 14 00 00 | 02 14 00 00 00 00 00 00 |.e i....|........|
|000053d0| 00 8c 00 00 a5 34 00 00 | 42 8c 01 00 65 d7 b8 ff |.....4..|B...e...|
|000053e0| b5 1d b9 ff 68 37 00 00 | 0d 08 00 00 02 14 00 00 |....h7..|........|
|000053f0| 00 00 00 00 07 39 00 00 | 08 f9 00 00 08 f9 00 00 |.....9..|........|
|00005400| 00 00 00 00 00 34 00 00 | 25 38 00 00 42 da dd 02 |.....4..|%8..B...|
|00005410| a5 92 b8 ff 55 c9 b8 ff | 18 2b 00 00 33 2e 31 30 |....U...|.+..3.10|
|00005420| 20 20 41 64 76 61 6e 63 | 65 64 20 75 73 65 20 6f | Advanc|ed use o|
|00005430| 66 20 6f 62 6a 65 63 74 | 73 0d 00 00 00 38 00 00 |f object|s....8..|
|00005440| a5 24 00 00 42 34 01 00 | 05 51 b8 ff b5 87 b8 ff |.$..B4..|.Q......|
|00005450| 18 2b 00 00 0d 08 00 f0 | 08 f9 00 00 00 00 00 00 |.+......|........|
|00005460| 00 24 00 00 05 80 00 00 | 00 58 fb 06 35 17 b8 ff |.$......|.X..5...|
|00005470| 15 46 b8 ff 20 22 00 00 | 49 74 20 69 73 20 70 6f |.F.. "..|It is po|
|00005480| 73 73 69 62 6c 65 20 66 | 6f 72 20 74 68 65 20 75 |ssible f|or the u|
|00005490| 73 65 72 20 74 6f 20 63 | 72 65 61 74 65 20 68 69 |ser to c|reate hi|
|000054a0| 65 72 61 72 63 68 69 65 | 73 2c 20 61 6e 64 20 74 |erarchie|s, and t|
|000054b0| 6f 20 6d 61 6e 69 70 75 | 6c 61 74 65 20 6d 6f 72 |o manipu|late mor|
|000054c0| 65 20 64 69 72 65 63 74 | 6c 79 20 74 68 65 20 6f |e direct|ly the o|
|000054d0| 62 6a 65 63 74 20 73 74 | 6f 72 65 2e 20 20 00 00 |bject st|ore. ..|
|000054e0| 00 80 00 00 a5 88 00 00 | 42 6c 87 03 e5 d0 b7 ff |........|Bl......|
|000054f0| c5 ff b7 ff 20 22 00 00 | 44 65 74 61 69 6c 73 20 |.... "..|Details |
|00005500| 6f 66 20 68 6f 77 20 74 | 68 69 73 20 69 73 20 61 |of how t|his is a|
|00005510| 63 68 69 65 76 65 64 20 | 61 72 65 20 67 69 76 65 |chieved |are give|
|00005520| 6e 20 62 65 6c 6f 77 2e | 07 28 d3 fe 02 14 00 00 |n below.|.(......|
|00005530| 02 14 00 00 00 00 00 00 | 0d 08 00 00 02 14 00 00 |........|........|
|00005540| 00 00 00 00 07 e2 d2 fe | 02 63 00 00 02 63 00 00 |........|.c...c..|
|00005550| 00 00 00 00 07 65 20 66 | 0d 64 00 00 02 63 00 00 |.....e f|.d...c..|
|00005560| 0d 64 00 00 00 00 00 00 | 00 88 00 00 a5 44 00 00 |.d......|.....D..|
|00005570| 42 a4 04 00 15 65 b7 ff | 65 ab b7 ff fc 36 00 00 |B....e..|e....6..|
|00005580| 0d 08 02 00 02 63 00 00 | 0d 64 00 00 00 00 00 00 |.....c..|.d......|
|00005590| 08 63 74 20 0d 64 00 00 | 00 00 00 00 07 65 20 74 |.ct .d..|.....e t|
|000055a0| 08 fb 00 00 08 fb 00 00 | 00 00 00 00 00 44 00 00 |........|.....D..|
|000055b0| a5 70 00 00 42 ee ff 01 | 55 20 b7 ff 05 57 b7 ff |.p..B...|U ...W..|
|000055c0| 18 2b 00 00 33 2e 31 30 | 2e 31 20 20 07 78 26 07 |.+..3.10|.1 .x&.|
|000055d0| 0d fc 00 00 08 fb 00 00 | 0d fc 00 00 00 00 00 00 |........|........|
|000055e0| 69 73 61 08 0d fc 00 00 | 08 fb 00 00 00 00 00 00 |isa.....|........|
|000055f0| 20 61 6e 64 20 07 65 20 | 0d fd 00 00 08 fb 00 00 | and .e |........|
|00005600| 0d fd 00 00 00 00 00 00 | 73 75 70 65 72 0d 08 77 |........|super..w|
|00005610| 0d fd 00 00 08 fb 00 00 | 00 00 00 00 00 70 00 00 |........|.....p..|
|00005620| a5 24 00 00 42 34 01 00 | b5 de b6 ff 65 15 b7 ff |.$..B4..|....e...|
|00005630| 18 2b 00 00 0d 08 6e 63 | 08 fb 00 00 00 00 00 00 |.+....nc|........|
|00005640| 00 24 00 00 05 7c 00 00 | 00 b4 23 07 e5 a4 b6 ff |.$...|..|..#.....|
|00005650| c5 d3 b6 ff 20 22 00 00 | 4f 66 74 65 6e 20 69 6e |.... "..|Often in|
|00005660| 20 72 65 61 6c 20 6c 69 | 66 65 20 63 65 72 74 61 | real li|fe certa|
|00005670| 69 6e 20 67 72 6f 75 70 | 73 20 61 72 65 20 73 75 |in group|s are su|
|00005680| 62 73 65 74 73 20 6f 66 | 20 61 20 6c 61 72 67 65 |bsets of| a large|
|00005690| 72 20 67 72 6f 75 70 2e | 20 20 46 6f 72 20 65 78 |r group.| For ex|
|000056a0| 61 6d 70 6c 65 2c 20 68 | 75 6d 61 6e 73 20 61 6e |ample, h|umans an|
|000056b0| 64 20 64 6f 6c 70 68 69 | 6e 73 20 00 00 7c 00 00 |d dolphi|ns ..|..|
|000056c0| 05 78 00 00 00 e4 05 07 | 95 5e b6 ff 75 8d b6 ff |.x......|.^..u...|
|000056d0| 20 22 00 00 61 72 65 20 | 62 6f 74 68 20 6d 61 6d | "..are |both mam|
|000056e0| 6d 61 6c 73 2c 20 61 6e | 64 20 61 73 20 73 75 63 |mals, an|d as suc|
|000056f0| 68 2c 20 74 68 65 79 20 | 73 68 61 72 65 20 74 68 |h, they |share th|
|00005700| 65 20 70 72 6f 70 65 72 | 74 69 65 73 20 6f 66 20 |e proper|ties of |
|00005710| 61 6c 6c 20 6d 61 6d 6d | 61 6c 73 2c 20 77 68 69 |all mamm|als, whi|
|00005720| 6c 73 74 20 72 65 74 61 | 69 6e 69 6e 67 20 71 75 |lst reta|ining qu|
|00005730| 69 74 65 20 00 78 00 00 | 05 78 00 00 00 cc 1a 07 |ite .x..|.x......|
|00005740| 45 18 b6 ff 25 47 b6 ff | 20 22 00 00 75 6e 69 71 |E...%G..| "..uniq|
|00005750| 75 65 20 70 72 6f 70 65 | 72 74 69 65 73 2e 20 20 |ue prope|rties. |
|00005760| 54 68 75 73 2c 20 62 6f | 74 68 20 64 6f 6c 70 68 |Thus, bo|th dolph|
|00005770| 69 6e 73 20 61 6e 64 20 | 68 75 6d 61 6e 73 20 77 |ins and |humans w|
|00005780| 6f 75 6c 64 20 73 68 61 | 72 65 20 74 68 65 20 70 |ould sha|re the p|
|00005790| 72 6f 70 65 72 74 79 20 | 6f 66 20 68 61 76 69 6e |roperty |of havin|
|000057a0| 67 20 73 6b 69 6e 2c 20 | 62 75 74 20 00 78 00 00 |g skin, |but .x..|
|000057b0| 05 80 00 00 00 8c 5a 07 | f5 d1 b5 ff d5 00 b6 ff |......Z.|........|
|000057c0| 20 22 00 00 6f 6e 6c 79 | 20 64 6f 6c 70 68 69 6e | "..only| dolphin|
|000057d0| 73 20 68 61 76 65 20 66 | 69 6e 73 2c 20 61 6e 64 |s have f|ins, and|
|000057e0| 20 6f 6e 6c 79 20 68 75 | 6d 61 6e 73 20 68 61 76 | only hu|mans hav|
|000057f0| 65 20 68 61 6e 64 73 2e | 20 20 53 69 6d 69 6c 61 |e hands.| Simila|
|00005800| 72 6c 79 2c 20 70 65 6f | 70 6c 65 20 68 61 76 65 |rly, peo|ple have|
|00005810| 20 63 65 72 74 61 69 6e | 20 61 74 74 72 69 62 75 | certain| attribu|
|00005820| 74 65 73 2c 20 61 6e 64 | 20 00 00 00 00 80 00 00 |tes, and| .......|
|00005830| 05 80 00 00 00 f4 46 07 | a5 8b b5 ff 85 ba b5 ff |......F.|........|
|00005840| 20 22 00 00 73 74 75 64 | 65 6e 74 73 2c 20 77 68 | "..stud|ents, wh|
|00005850| 69 6c 73 74 20 68 61 76 | 69 6e 67 20 61 6c 6c 20 |ilst hav|ing all |
|00005860| 6f 66 20 74 68 65 20 61 | 74 74 72 69 62 75 74 65 |of the a|ttribute|
|00005870| 73 20 61 73 73 6f 63 69 | 61 74 65 64 20 77 69 74 |s associ|ated wit|
|00005880| 68 20 70 65 6f 70 6c 65 | 2c 20 61 6c 73 6f 20 68 |h people|, also h|
|00005890| 61 76 65 20 63 68 61 72 | 61 63 74 65 72 69 73 74 |ave char|acterist|
|000058a0| 69 63 73 20 73 75 63 68 | 20 61 73 20 00 80 00 00 |ics such| as ....|
|000058b0| 25 44 00 00 42 8c f5 02 | 55 45 b5 ff 35 74 b5 ff |%D..B...|UE..5t..|
|000058c0| 20 22 00 00 63 6f 6c 6c | 65 67 65 2c 20 63 6f 75 | "..coll|ege, cou|
|000058d0| 72 73 65 20 6e 61 6d 65 | 2c 20 61 6e 64 20 79 65 |rse name|, and ye|
|000058e0| 61 72 20 6f 66 20 73 74 | 75 64 79 2e 0d 00 00 00 |ar of st|udy.....|
|000058f0| 00 44 00 00 25 1c 00 00 | 42 d8 03 00 05 ff b4 ff |.D..%...|B.......|
|00005900| e5 2d b5 ff 20 22 00 00 | 0d 00 00 00 00 1c 00 00 |.-.. "..|........|
|00005910| 85 9c 00 00 02 5c 3f 07 | b5 b8 b4 ff 95 e7 b4 ff |.....\?.|........|
|00005920| 20 22 00 00 49 6e 20 47 | 52 53 20 69 74 20 69 73 | "..In G|RS it is|
|00005930| 20 70 6f 73 73 69 62 6c | 65 20 74 6f 20 72 65 70 | possibl|e to rep|
|00005940| 72 65 73 65 6e 74 20 74 | 68 69 73 20 72 65 6c 61 |resent t|his rela|
|00005950| 74 69 6f 6e 73 68 69 70 | 20 71 75 69 74 65 20 65 |tionship| quite e|
|00005960| 61 73 69 6c 79 2e 20 20 | 41 73 73 75 6d 69 6e 67 |asily. |Assuming|
|00005970| 20 74 68 61 74 20 74 68 | 65 20 63 6c 61 73 73 20 | that th|e class |
|00005980| 07 69 76 65 03 67 00 00 | 03 67 00 00 00 00 00 00 |.ive.g..|.g......|
|00005990| 70 65 72 73 6f 6e 08 65 | 03 67 00 00 00 00 00 00 |person.e|.g......|
|000059a0| 20 68 61 73 20 00 00 00 | 00 9c 00 00 a5 68 00 00 | has ...|.....h..|
|000059b0| 42 bc 43 03 65 72 b4 ff | 45 a1 b4 ff 20 22 00 00 |B.C.er..|E... "..|
|000059c0| 62 65 65 6e 20 73 65 74 | 20 75 70 2c 20 73 74 75 |been set| up, stu|
|000059d0| 64 65 6e 74 20 63 61 6e | 20 61 6c 73 6f 20 62 65 |dent can| also be|
|000059e0| 20 64 65 66 69 6e 65 64 | 20 74 68 75 73 0d 07 6f | defined| thus..o|
|000059f0| 0f 68 00 00 0f 68 00 00 | 00 00 00 00 07 6c 61 73 |.h...h..|.....las|
|00005a00| 16 59 02 00 0f 68 00 00 | 16 59 02 00 00 00 00 00 |.Y...h..|.Y......|
|00005a10| 00 68 00 00 a5 40 00 00 | 42 f0 49 02 e5 33 b4 ff |.h...@..|B.I..3..|
|00005a20| f5 5a b4 ff 82 19 00 00 | 69 6e 73 74 61 6e 63 65 |.Z......|instance|
|00005a30| 6f 66 20 08 16 59 02 00 | 0f 68 00 00 00 00 00 00 |of ..Y..|.h......|
|00005a40| 63 6c 61 73 73 20 73 74 | 75 64 65 6e 74 3b 0d 00 |class st|udent;..|
|00005a50| 00 40 00 00 a5 50 00 00 | 42 30 ec 01 05 05 b4 ff |.@...P..|B0......|
|00005a60| 15 2c b4 ff 82 19 00 00 | 73 74 75 64 65 6e 74 20 |.,......|student |
|00005a70| 3a 3d 20 07 16 5a 02 00 | 0f 68 00 00 16 5a 02 00 |:= ..Z..|.h...Z..|
|00005a80| 00 00 00 00 63 6c 61 73 | 73 2e 6e 65 77 08 00 00 |....clas|s.new...|
|00005a90| 16 5a 02 00 0f 68 00 00 | 00 00 00 00 28 0d 00 00 |.Z...h..|....(...|
|00005aa0| 00 50 00 00 25 34 00 00 | 42 80 32 02 25 d6 b3 ff |.P..%4..|B.2.%...|
|00005ab0| 35 fd b3 ff 82 19 00 00 | 20 20 20 20 20 20 20 20 |5.......| |
|00005ac0| 20 20 20 20 20 20 22 73 | 74 75 64 65 6e 74 22 2c | "s|tudent",|
|00005ad0| 0d 00 00 00 00 34 00 00 | 25 28 00 00 42 90 5f 01 |.....4..|%(..B._.|
|00005ae0| 45 a7 b3 ff 55 ce b3 ff | 82 19 00 00 20 20 20 20 |E...U...|.... |
|00005af0| 20 20 20 20 20 20 20 20 | 20 20 5b 0d 00 28 00 00 | | [..(..|
|00005b00| 25 2c 00 00 42 e0 a5 01 | 65 78 b3 ff 75 9f b3 ff |%,..B...|ex..u...|
|00005b10| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005b20| 20 20 20 20 20 7b 0d 00 | 00 2c 00 00 01 10 00 00 | {..|.,......|
|00005b30| 42 e0 0a 06 00 00 00 00 | 00 10 00 00 02 18 00 00 |B.......|........|
|00005b40| 6c 0d 00 00 00 00 00 00 | 0f 68 00 00 00 00 00 00 |l.......|.h......|
|00005b50| 00 18 00 00 25 5c 00 00 | 42 e0 0a 06 14 0e b1 ff |....%\..|B.......|
|00005b60| 24 35 b1 ff 82 19 00 00 | 20 20 20 20 20 20 20 20 |$5......| |
|00005b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 6e 75 6c 6c | | null|
|00005b80| 20 66 75 6e 63 74 69 6f | 6e 20 73 65 74 28 20 73 | functio|n set( s|
|00005b90| 74 72 69 6e 67 20 70 6e | 61 6d 65 3b 20 69 6e 74 |tring pn|ame; int|
|00005ba0| 65 67 65 72 20 70 61 67 | 65 3b 0d 00 00 5c 00 00 |eger pag|e;...\..|
|00005bb0| 25 60 00 00 42 c0 39 06 | 34 df b0 ff 44 06 b1 ff |%`..B.9.|4...D...|
|00005bc0| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005be0| 20 20 20 20 20 20 20 20 | 20 20 20 73 74 72 69 6e | | strin|
|00005bf0| 67 20 70 63 72 73 65 3b | 20 69 6e 74 65 67 65 72 |g pcrse;| integer|
|00005c00| 20 70 79 65 61 72 20 29 | 0d 00 00 00 00 60 00 00 | pyear )|.....`..|
|00005c10| 25 30 00 00 42 30 ec 01 | 54 b0 b0 ff 64 d7 b0 ff |%0..B0..|T...d...|
|00005c20| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005c30| 20 20 20 20 20 20 20 20 | 7b 0d 00 00 00 30 00 00 | |{....0..|
|00005c40| 25 54 00 00 42 80 20 05 | 74 81 b0 ff 84 a8 b0 ff |%T..B. .|t.......|
|00005c50| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005c60| 20 20 20 20 20 20 20 20 | 20 20 20 61 73 73 75 6d | | assum|
|00005c70| 65 20 69 6e 73 74 61 6e | 63 65 6f 66 20 70 65 72 |e instan|ceof per|
|00005c80| 73 6f 6e 20 73 75 70 65 | 72 20 69 6e 0d 00 00 00 |son supe|r in....|
|00005c90| 00 54 00 00 25 4c 00 00 | 42 00 65 04 94 52 b0 ff |.T..%L..|B.e..R..|
|00005ca0| a4 79 b0 ff 82 19 00 00 | 20 20 20 20 20 20 20 20 |.y......| |
|00005cb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005cc0| 20 20 73 75 70 65 72 2e | 73 65 74 28 70 6e 61 6d | super.|set(pnam|
|00005cd0| 65 2c 70 61 67 65 29 3b | 0d 00 00 00 00 4c 00 00 |e,page);|.....L..|
|00005ce0| 25 58 00 00 42 40 7e 05 | b4 23 b0 ff c4 4a b0 ff |%X..B@~.|.#...J..|
|00005cf0| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005d00| 20 20 20 20 20 20 20 20 | 20 20 20 61 73 73 75 6d | | assum|
|00005d10| 65 20 73 74 72 69 6e 67 | 20 63 6f 75 72 73 65 3b |e string| course;|
|00005d20| 20 69 6e 74 65 67 65 72 | 20 79 65 61 72 20 69 6e | integer| year in|
|00005d30| 0d 00 00 00 00 58 00 00 | 25 58 00 00 42 b0 95 05 |.....X..|%X..B...|
|00005d40| d4 f4 af ff e4 1b b0 ff | 82 19 00 00 20 20 20 20 |........|.... |
|00005d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005d60| 20 20 20 7b 20 20 63 6f | 75 72 73 65 20 3a 3d 20 | { co|urse := |
|00005d70| 70 63 72 73 65 3b 20 79 | 65 61 72 20 3a 3d 20 70 |pcrse; y|ear := p|
|00005d80| 79 65 61 72 3b 20 20 7d | 3b 0d 00 00 00 58 00 00 |year; }|;....X..|
|00005d90| 25 30 00 00 42 a0 03 02 | f4 c5 af ff 04 ed af ff |%0..B...|........|
|00005da0| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005db0| 20 20 20 20 20 20 20 20 | 7d 3b 0d 00 00 30 00 00 | |};...0..|
|00005dc0| 25 2c 00 00 42 50 bd 01 | 14 97 af ff 24 be af ff |%,..BP..|....$...|
|00005dd0| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005de0| 20 20 20 20 20 7d 2c 0d | 00 2c 00 00 25 2c 00 00 | },.|.,..%,..|
|00005df0| 42 e0 a5 01 34 68 af ff | 44 8f af ff 82 19 00 00 |B...4h..|D.......|
|00005e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005e10| 20 7b 0d 00 00 2c 00 00 | 25 44 00 00 42 80 a9 03 | {...,..|%D..B...|
|00005e20| 54 39 af ff 64 60 af ff | 82 19 00 00 20 20 20 20 |T9..d`..|.... |
|00005e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005e40| 6e 75 6c 6c 20 66 75 6e | 63 74 69 6f 6e 20 73 68 |null fun|ction sh|
|00005e50| 6f 77 28 29 0d 00 00 00 | 00 44 00 00 25 30 00 00 |ow()....|.D..%0..|
|00005e60| 42 30 ec 01 74 0a af ff | 84 31 af ff 82 19 00 00 |B0..t...|.1......|
|00005e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005e80| 20 20 20 20 7b 0d 00 00 | 00 30 00 00 25 50 00 00 | {...|.0..%P..|
|00005e90| 42 a0 f1 04 94 db ae ff | a4 02 af ff 82 19 00 00 |B.......|........|
|00005ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005eb0| 20 20 20 20 20 20 20 77 | 72 69 74 65 28 22 5c 6e | w|rite("\n|
|00005ec0| 53 74 75 64 65 6e 74 20 | 64 65 74 61 69 6c 73 20 |Student |details |
|00005ed0| 3a 5c 6e 22 29 3b 0d 00 | 00 50 00 00 25 54 00 00 |:\n");..|.P..%T..|
|00005ee0| 42 80 20 05 b4 ac ae ff | c4 d3 ae ff 82 19 00 00 |B. .....|........|
|00005ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005f00| 20 20 20 20 20 20 20 61 | 73 73 75 6d 65 20 69 6e | a|ssume in|
|00005f10| 73 74 61 6e 63 65 6f 66 | 20 70 65 72 73 6f 6e 20 |stanceof| person |
|00005f20| 73 75 70 65 72 20 69 6e | 0d 00 00 00 00 54 00 00 |super in|.....T..|
|00005f30| 25 40 00 00 42 10 92 03 | d4 7d ae ff e4 a4 ae ff |%@..B...|.}......|
|00005f40| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 73 75 | | su|
|00005f60| 70 65 72 2e 73 68 6f 77 | 28 29 3b 0d 00 40 00 00 |per.show|();..@..|
|00005f70| 25 58 00 00 42 40 7e 05 | f4 4e ae ff 04 76 ae ff |%X..B@~.|.N...v..|
|00005f80| 82 19 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005f90| 20 20 20 20 20 20 20 20 | 20 20 20 61 73 73 75 6d | | assum|
|00005fa0| 65 20 73 74 72 69 6e 67 | 20 63 6f 75 72 73 65 3b |e string| course;|
|00005fb0| 20 69 6e 74 65 67 65 72 | 20 79 65 61 72 20 69 6e | integer| year in|
|00005fc0| 0d 00 00 00 00 58 00 00 | 25 4c 00 00 42 50 ab 04 |.....X..|%L..BP..|
|00005fd0| 14 20 ae ff 24 47 ae ff | 82 19 00 f0 20 20 20 20 |. ..$G..|.... |
|00005fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ff0| 20 20 20 20 20 20 77 72 | 69 74 65 28 22 43 6f 75 | wr|ite("Cou|
|00006000| 72 73 65 20 3a 20 22 2c | 63 6f 75 72 73 65 2c 0d |rse : ",|course,.|
|00006010| 00 4c 00 00 25 50 00 00 | 42 a0 f1 04 34 f1 ad ff |.L..%P..|B...4...|
|00006020| 44 18 ae ff 82 19 00 f0 | 20 20 20 20 20 20 20 20 |D.......| |
|00006030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006040| 20 20 20 20 20 20 20 20 | 22 20 79 65 61 72 20 3a | |" year :|
|00006050| 20 22 2c 79 65 61 72 2c | 22 5c 6e 22 29 3b 0d 00 | ",year,|"\n");..|
|00006060| 00 50 00 00 25 30 00 00 | 42 a0 03 02 54 c2 ad ff |.P..%0..|B...T...|
|00006070| 64 e9 ad ff 82 19 00 f0 | 20 20 20 20 20 20 20 20 |d.......| |
|00006080| 20 20 20 20 20 20 20 20 | 20 20 20 20 7d 3b 0d 00 | | };..|
|00006090| 00 30 00 00 25 2c 00 00 | 42 e0 a5 01 74 93 ad ff |.0..%,..|B...t...|
|000060a0| 84 ba ad ff 82 19 00 f0 | 20 20 20 20 20 20 20 20 |........| |
|000060b0| 20 20 20 20 20 20 20 20 | 20 7d 0d 00 00 2c 00 00 | | }...,..|
|000060c0| 25 2c 00 00 42 00 77 01 | 94 64 ad ff a4 8b ad ff |%,..B.w.|.d......|
|000060d0| 82 19 00 f0 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|000060e0| 20 20 5d 2c 0d 00 00 00 | 00 2c 00 00 25 28 00 00 | ],....|.,..%(..|
|000060f0| 42 90 5f 01 b4 35 ad ff | c4 5c ad ff 82 19 00 f0 |B._..5..|.\......|
|00006100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5b 0d | | [.|
|00006110| 00 28 00 00 25 2c 00 00 | 42 e0 a5 01 d4 06 ad ff |.(..%,..|B.......|
|00006120| e4 2d ad ff 82 19 00 f0 | 20 20 20 20 20 20 20 20 |.-......| |
|00006130| 20 20 20 20 20 20 20 20 | 20 7b 0d 00 00 2c 00 00 | | {...,..|
|00006140| 25 3c 00 00 42 e0 1c 03 | f4 d7 ac ff 04 ff ac ff |%<..B...|........|
|00006150| 82 19 00 f0 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00006160| 20 20 20 20 20 20 20 20 | 73 74 72 69 6e 67 20 63 | |string c|
|00006170| 6f 75 72 73 65 3b 0d 00 | 00 3c 00 00 25 3c 00 00 |ourse;..|.<..%<..|
|00006180| 42 70 05 03 14 a9 ac ff | 24 d0 ac ff 82 19 00 f0 |Bp......|$.......|
|00006190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000061a0| 20 20 20 20 69 6e 74 65 | 67 65 72 20 79 65 61 72 | inte|ger year|
|000061b0| 3b 0d 00 00 00 3c 00 00 | 25 2c 00 00 42 e0 a5 01 |;....<..|%,..B...|
|000061c0| 34 7a ac ff 44 a1 ac ff | 82 19 00 f0 20 20 20 20 |4z..D...|.... |
|000061d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7d 0d 00 | | }..|
|000061e0| 00 2c 00 00 25 28 00 00 | 42 90 5f 01 54 4b ac ff |.,..%(..|B._.TK..|
|000061f0| 64 72 ac ff 82 19 00 f0 | 20 20 20 20 20 20 20 20 |dr......| |
|00006200| 20 20 20 20 20 20 5d 0d | 00 28 00 00 a5 34 00 00 | ].|.(...4..|
|00006210| 42 00 77 01 74 1c ac ff | 84 43 ac ff 82 19 00 f0 |B.w.t...|.C......|
|00006220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 29 3b | | );|
|00006230| 0d 08 61 63 0f 68 00 00 | 00 00 00 00 00 34 00 00 |..ac.h..|.....4..|
|00006240| 25 1c 00 00 42 d8 03 00 | c4 e5 ab ff a4 14 ac ff |%...B...|........|
|00006250| 20 22 00 f0 0d 00 00 00 | 00 1c 00 00 85 e8 00 00 | "......|........|
|00006260| 02 8c 1b 07 74 9f ab ff | 54 ce ab ff 20 22 00 f0 |....t...|T... "..|
|00006270| 4e 6f 74 69 63 65 20 68 | 6f 77 20 07 0e 69 00 00 |Notice h|ow ..i..|
|00006280| 0e 69 00 00 00 00 00 00 | 73 75 70 65 72 08 61 62 |.i......|super.ab|
|00006290| 0e 69 00 00 00 00 00 00 | 20 69 73 20 75 73 65 64 |.i......| is used|
|000062a0| 20 6f 6e 6c 79 20 77 69 | 74 68 69 6e 20 07 65 2c | only wi|thin .e,|
|000062b0| 0e 6a 00 00 0e 6a 00 00 | 00 00 00 00 07 20 61 20 |.j...j..|..... a |
|000062c0| 16 5c 02 00 0e 6a 00 00 | 16 5c 02 00 00 00 00 00 |.\...j..|.\......|
|000062d0| 61 73 73 75 6d 65 08 00 | 0e 6a 00 00 16 5c 02 00 |assume..|.j...\..|
|000062e0| 00 00 00 00 20 08 00 00 | 16 5c 02 00 00 00 00 00 |.... ...|.\......|
|000062f0| 62 6c 6f 63 6b 73 20 69 | 6e 20 6f 72 64 65 72 20 |blocks i|n order |
|00006300| 74 6f 20 70 72 65 76 65 | 6e 74 20 61 20 07 c7 fe |to preve|nt a ...|
|00006310| 16 5d 02 00 16 5d 02 00 | 00 00 00 00 63 6f 6d 70 |.]...]..|....comp|
|00006320| 69 6c 65 20 74 69 6d 65 | 08 74 20 76 16 5d 02 00 |ile time|.t v.]..|
|00006330| 00 00 00 00 20 65 72 72 | 6f 72 2e 20 20 00 00 00 |.... err|or. ...|
|00006340| 00 e8 00 00 85 bc 00 00 | 02 c8 30 07 24 59 ab ff |........|..0.$Y..|
|00006350| 04 88 ab ff 20 22 00 f0 | 57 68 65 6e 65 76 65 72 |.... "..|Whenever|
|00006360| 20 74 68 65 20 69 6e 74 | 65 72 70 72 65 74 65 72 | the int|erpreter|
|00006370| 20 66 69 6e 64 73 20 61 | 20 6d 65 73 73 61 67 65 | finds a| message|
|00006380| 20 69 73 20 74 6f 20 62 | 65 20 73 65 6e 74 20 74 | is to b|e sent t|
|00006390| 6f 20 74 68 65 20 6f 62 | 6a 65 63 74 20 07 00 f0 |o the ob|ject ...|
|000063a0| 0e 6c 00 00 0e 6c 00 00 | 00 00 00 00 07 72 61 73 |.l...l..|.....ras|
|000063b0| 16 5e 02 00 0e 6c 00 00 | 16 5e 02 00 00 00 00 00 |.^...l..|.^......|
|000063c0| 73 75 70 65 72 08 00 00 | 0e 6c 00 00 16 5e 02 00 |super...|.l...^..|
|000063d0| 00 00 00 00 08 87 c6 fe | 16 5e 02 00 00 00 00 00 |........|.^......|
|000063e0| 2c 20 74 68 65 20 6d 65 | 73 73 61 67 65 20 69 73 |, the me|ssage is|
|000063f0| 20 73 65 6e 74 20 74 6f | 20 00 00 00 00 bc 00 00 | sent to| .......|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.